1 # Maintainer: Jens Staal <staal1978@gmail.com>
5 pkgdesc="an init system based on plan9 make - Bash init scripts"
7 url="http://9fans.net/archive/2009/10/375"
9 md5sums=('2f7db22ca295b963152d1b628533385c' '0546f2aeb1d16c5865167b6d69c0d672')
10 depends=("9base") #alternative dependency: plan9port
11 conflicts=('9mk-init-rc')
12 makedepends=('subversion')
17 export DESTDIR=$pkgdir
20 svn co https://lug.rose-hulman.edu/svn/misc/trunk/mkinit/ mkinit
21 svn cat https://lug.rose-hulman.edu/svn/misc/trunk/mkcommon > mkcommon
26 export PLAN9=/opt/plan9
27 export PATH=$PLAN9/bin:$PATH
29 rm $srcdir/build/src/mkinit.rc
36 install -d "$pkgdir/etc"
37 install -d "$pkgdir/sbin"
38 install -d "$pkgdir/lib/mkinit/bin"
39 install -d "$pkgdir/lib/mkinit/state"
41 install -t $pkgdir/lib/mkinit/bin $srcdir/build/src/{mkinit,service,respawn,initctld}
42 install -t $pkgdir/etc $srcdir/build/init.mk
44 msg "WARNING: this is a highly experimental package. Make sure that you know what you are doing before installing"