aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-18 09:05:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-18 09:05:38 +0000
commit68726cf157624bf6e040d6f8c1b1f9c0ebb21b38 (patch)
tree43e6f05785084d55a7a87d32d34bb68e1a9119f8 /main
parenta4154e736197d044747a3cac1766dc1b3803ca76 (diff)
downloadaports-68726cf157624bf6e040d6f8c1b1f9c0ebb21b38.tar.bz2
aports-68726cf157624bf6e040d6f8c1b1f9c0ebb21b38.tar.xz
main/gzip: make uncompress a symlink
So we can have /usr on separate filesystem ref #4011
Diffstat (limited to 'main')
-rw-r--r--main/gzip/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/main/gzip/APKBUILD b/main/gzip/APKBUILD
index b1b062c06d..4b8f4bbf94 100644
--- a/main/gzip/APKBUILD
+++ b/main/gzip/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gzip
pkgver=1.6
-pkgrel=0
+pkgrel=1
pkgdesc="A popular data compression program"
subpackages="$pkgname-doc"
url="http://www.gnu.org/software/gzip/"
@@ -40,6 +40,9 @@ package() {
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
}
md5sums="38603cb2843bf5681ff41aab3bcd6a20 gzip-1.6.tar.gz"
sha256sums="97eb83b763d9e5ad35f351fe5517e6b71521d7aac7acf3e3cacdb6b1496d8f7e gzip-1.6.tar.gz"