summaryrefslogtreecommitdiff
path: root/core/gzip/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/gzip/MAKEPKG')
-rw-r--r--core/gzip/MAKEPKG35
1 files changed, 35 insertions, 0 deletions
diff --git a/core/gzip/MAKEPKG b/core/gzip/MAKEPKG
new file mode 100644
index 0000000..d616d59
--- /dev/null
+++ b/core/gzip/MAKEPKG
@@ -0,0 +1,35 @@
+#!/bin/mkpkg
+# description: GNU compression utility
+# url: https://www.gnu.org/software/gzip
+
+name=gzip
+version=1.15
+release=2
+source=(https://ftp.gnu.org/gnu/$name/$name-$version.tar.xz)
+
+sha256sums=(
+ "9aa0cc780dec156b8282844833b342ab7cb08c25d2cd9a1869cdd0df31deff48"
+)
+
+build() {
+ cd $name-$version
+ ./configure \
+ --prefix=/ \
+ --bindir=/bin \
+ --mandir=/usr/share/man \
+ --disable-nls
+ make
+ make install DESTDIR=$PKG
+ rm -rf $PKG/share
+ for f in gzexe uncompress zcmp zdiff zforce zegrep zfgrep zgrep zless zmore znew; do
+ rm -f $PKG/bin/$f
+ rm -f $PKG/usr/share/man/man1/$f.1*
+ done
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh