diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-27 15:09:57 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-03-27 15:09:57 +0000 |
commit | dd1a1b32fe450ec82c7c43c078830112e45ef318 (patch) | |
tree | 139071ad82cb96e35dcb5d67c1c57e5aacdf1bb7 /extra | |
parent | de56558de300c61abc52cf63150241985d2b95bc (diff) | |
download | aports-dd1a1b32fe450ec82c7c43c078830112e45ef318.tar.bz2 aports-dd1a1b32fe450ec82c7c43c078830112e45ef318.tar.xz |
extra/gzip: post-deinstall script to restore busybox links
Diffstat (limited to 'extra')
-rw-r--r-- | extra/gzip/APKBUILD | 11 | ||||
-rw-r--r-- | extra/gzip/gzip.post-deinstall | 3 |
2 files changed, 10 insertions, 4 deletions
diff --git a/extra/gzip/APKBUILD b/extra/gzip/APKBUILD index acc55ebd..9b4de580 100644 --- a/extra/gzip/APKBUILD +++ b/extra/gzip/APKBUILD @@ -1,7 +1,8 @@ # Contributor: Leonardo Arena <rnalrd@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gzip pkgver=1.3.12 -pkgrel=0 +pkgrel=1 pkgdesc="A popular data compression program" subpackages="$pkgname-doc" arch="" @@ -9,8 +10,9 @@ url="http://www.gnu.org/software/gzip/" license="GPL2" depends="uclibc" makedepends="" -install= -source="http://ftp.gnu.org/gnu/gzip/gzip-1.3.12.tar.gz" +install="$pkgname.post-deinstall" +source="http://ftp.gnu.org/gnu/gzip/gzip-1.3.12.tar.gz + $install" build() { cd "$srcdir/$pkgname-$pkgver" @@ -21,4 +23,5 @@ build() { make || return 1 make DESTDIR=$pkgdir install } -md5sums="b5bac2d21840ae077e0217bc5e4845b1 gzip-1.3.12.tar.gz" +md5sums="b5bac2d21840ae077e0217bc5e4845b1 gzip-1.3.12.tar.gz +b84506d253e04db3c5af9016fead45a3 gzip.post-deinstall" diff --git a/extra/gzip/gzip.post-deinstall b/extra/gzip/gzip.post-deinstall new file mode 100644 index 00000000..99b57c46 --- /dev/null +++ b/extra/gzip/gzip.post-deinstall @@ -0,0 +1,3 @@ +#!/bin/sh + +busybox --install -s |