busybox: added self contained post install

This commit is contained in:
martell committed 2014-10-19 19:47:58 +01:00
1 parent d9dd575190
commit f02239ab02
2 files changed
+13

No files matched your search

+1
View File
@@ -9,6 +9,7 @@ url="http://gondor.apana.org.au/~herbert/dash/"
license=('GPL2')
depends=('msys2-base' 'msys2-runtime')
groups=('base')
install=busybox.install
source=("http://busybox.net/downloads/${pkgname}-${pkgver}.tar.bz2"
"busybox-cygwin.patch"
"fixsyscalls.patch"
+12
View File
@@ -0,0 +1,12 @@
post_install() {
usr/bin/busybox mkdir -p /usr/busybox
usr/bin/busybox --install -s /usr/busybox
}
post_upgrade() {
post_install
}
pre_remove() {
usr/bin/busybox rm -rf /usr/busybox
}