summaryrefslogtreecommitdiffstats
path: root/main/gzip
diff options
context:
space:
mode:
Diffstat (limited to 'main/gzip')
-rw-r--r--main/gzip/APKBUILD11
1 files changed, 8 insertions, 3 deletions
diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD
index 6d7a0874f..e6c6c3161 100644
--- a/main/gzip/APKBUILD
+++ b/main/gzip/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Leonardo Arena <rnalrd@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gzip
-pkgver=1.3.13
+pkgver=1.4
pkgrel=0
pkgdesc="A popular data compression program"
subpackages="$pkgname-doc"
@@ -12,8 +12,9 @@ makedepends=
install="$pkgname.post-deinstall"
source="http://ftp.gnu.org/gnu/gzip/gzip-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
# avoid text relocation
export DEFS="NO_ASM"
@@ -22,6 +23,10 @@ build() {
--disable-nls \
--infodir=/usr/share/info
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR=$pkgdir install
mkdir -p "$pkgdir"/bin
@@ -29,4 +34,4 @@ build() {
ln -s /bin/gzip "$pkgdir"/usr/bin/gzip
ln -s /bin/gunzip "$pkgdir"/usr/bin/gunzip
}
-md5sums="c54a31b93e865f6a4410b2dc64662706 gzip-1.3.13.tar.gz"
+md5sums="e381b8506210c794278f5527cba0e765 gzip-1.4.tar.gz"