Mail archive
alpine-aports

[alpine-aports] [PATCH v2] main/gzip: upgrade to 1.7

From: Valery Kartel <valery.kartel_at_gmail.com>
Date: Tue, 29 Mar 2016 14:42:22 +0300

---
 main/gzip/APKBUILD | 26 +++++++++-----------------
 1 file changed, 9 insertions(+), 17 deletions(-)
diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD
index 4b8f4bb..9bc9317 100644
--- a/main/gzip/APKBUILD
+++ b/main/gzip/APKBUILD
_at_@ -1,8 +1,9 @@
+# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
 # Contributor: Leonardo Arena <rnalrd_at_alpinelinux.org>
 # Maintainer: Natanael Copa <ncopa_at_alpinelinux.org>
 pkgname=gzip
-pkgver=1.6
-pkgrel=1
+pkgver=1.7
+pkgrel=0
 pkgdesc="A popular data compression program"
 subpackages="$pkgname-doc"
 url="http://www.gnu.org/software/gzip/"
_at_@ -11,7 +12,7 @@ license="GPL2"
 depends=
 makedepends=
 install=
-source="http://ftp.gnu.org/gnu/gzip/gzip-$pkgver.tar.gz"
+source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
 
 _builddir="$srcdir"/$pkgname-$pkgver
 build() {
_at_@ -32,18 +33,9 @@ build() {
 package() {
 	cd "$_builddir"
 	make DESTDIR=$pkgdir install
-
-	rm -rf "$pkgdir"/usr/lib/charset.alias
-	rmdir -p "$pkgdir"/usr/lib 2>/dev/null
-
-	mkdir -p "$pkgdir"/bin
-	mv "$pkgdir"/usr/bin/gzip "$pkgdir"/usr/bin/gunzip "$pkgdir"/bin/
-	ln -s /bin/gzip "$pkgdir"/usr/bin/gzip
-	ln -s /bin/gunzip "$pkgdir"/usr/bin/gunzip
-
-	# http://bugs.alpinelinux.org/issues/4011
-	ln -sf /bin/gunzip "$pkgdir"/usr/bin/uncompress
+	rm -rf "$pkgdir"/usr/lib
 }
-md5sums="38603cb2843bf5681ff41aab3bcd6a20  gzip-1.6.tar.gz"
-sha256sums="97eb83b763d9e5ad35f351fe5517e6b71521d7aac7acf3e3cacdb6b1496d8f7e  gzip-1.6.tar.gz"
-sha512sums="7fe04ddc101f8a6a8c91ca9cc3502ba80e08011ba27005ddde6bc5926b44066c2f943108c78ac66596cb5ea61f1f7e845a90899a11623638c15088d76e95f04a  gzip-1.6.tar.gz"
+
+md5sums="c4abae2ddd5c6f39c6f8169693cc7ac0  gzip-1.7.tar.gz"
+sha256sums="eccbaa178c7801618c887956f1668d45bb57863a9d2678bfc3e36d01fb951904  gzip-1.7.tar.gz"
+sha512sums="906b04ed976661aa55617b11c99d431c531495552f97827a5974071309bfd5007316ee502c4f518e1ef64926757afdb9acc593e5c679ffbb6972648b808507d1  gzip-1.7.tar.gz"
-- 
2.7.4
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Tue Mar 29 2016 - 14:42:22 GMT