aboutsummaryrefslogtreecommitdiffstats
path: root/testing/coreutils/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-26 07:41:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-26 07:41:56 +0000
commitcd6bf3c4d697b211e52463a308125de7bcf71e5a (patch)
tree50d0fcc7388e156ea85dfdf149b2620b4941eb9b /testing/coreutils/APKBUILD
parent8d9d321723fe5361d0886f9f8f66801c1f11b0b3 (diff)
downloadaports-cd6bf3c4d697b211e52463a308125de7bcf71e5a.tar.gz
aports-cd6bf3c4d697b211e52463a308125de7bcf71e5a.tar.bz2
aports-cd6bf3c4d697b211e52463a308125de7bcf71e5a.tar.xz
testing/coreutils: restore busybox links when uninstall
Diffstat (limited to 'testing/coreutils/APKBUILD')
-rw-r--r--testing/coreutils/APKBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/testing/coreutils/APKBUILD b/testing/coreutils/APKBUILD
index 861fe4eeac..0dc4e1f755 100644
--- a/testing/coreutils/APKBUILD
+++ b/testing/coreutils/APKBUILD
@@ -2,15 +2,16 @@
# Maintainer:
pkgname=coreutils
pkgver=7.1
-pkgrel=0
+pkgrel=1
pkgdesc="The basic file, shell and text manipulation utilities"
url="http://www.gnu.org/software/coreutils/"
license="GPL"
depends="uclibc"
makedepends=""
-install=
+install="$pkgname.post-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-doc"
-source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.gz"
+source="http://ftp.gnu.org/gnu/coreutils/$pkgname-$pkgver.tar.gz
+ $install"
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -25,4 +26,6 @@ build() {
}
-md5sums="cbb2b3d1718ee1237b808e00b5c11b1e coreutils-7.1.tar.gz"
+md5sums="cbb2b3d1718ee1237b808e00b5c11b1e coreutils-7.1.tar.gz
+b84506d253e04db3c5af9016fead45a3 coreutils.post-deinstall
+b84506d253e04db3c5af9016fead45a3 coreutils.post-upgrade"