diff options
-rw-r--r-- | main/sed/APKBUILD | 6 | ||||
-rw-r--r-- | main/sed/sed.post-deinstall | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/main/sed/APKBUILD b/main/sed/APKBUILD index 26e2425273..5afb29ab90 100644 --- a/main/sed/APKBUILD +++ b/main/sed/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=sed pkgver=4.2.1 -pkgrel=2 +pkgrel=3 subpackages="$pkgname-doc" pkgdesc="GNU stream editor" url="http://www.gnu.org/software/sed" @@ -20,6 +20,10 @@ build() { --disable-i18n \ --disable-nls make || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install } diff --git a/main/sed/sed.post-deinstall b/main/sed/sed.post-deinstall index 99b57c4635..81dde1ec59 100644 --- a/main/sed/sed.post-deinstall +++ b/main/sed/sed.post-deinstall @@ -1,3 +1,6 @@ #!/bin/sh -busybox --install -s +# we cannot rely on the busbox trigger since sed might be used from install +# scripts + +exec /bin/busybox --install -s |