1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Mathias Baumann <marenz@supradigital.org>
10 pkgdesc="A small yet feature-complete init"
11 arch=('i686' 'x86_64')
12 url="http://www.fefe.de/minit/"
16 makedepends=('dietlibc' 'libowfat')
19 conflicts=('sysvinit')
24 source=(http://dl.fefe.de/$pkgname-$pkgver.tar.bz2)
28 cd "$srcdir/$pkgname-$pkgver"
31 make DESTDIR="$pkgdir/" install
33 mkdir $pkgdir/etc/minit/{sysinit,default,network,single,syslog-ng}
34 ln -s /etc/rc.sysinit $pkgdir/etc/minit/sysinit/run
35 ln -s /etc/rc.single $pkgdir/etc/minit/single/run
36 ln -s /etc/rc.d/network $pkgdir/etc/minit/network/run
37 ln -s /etc/rc.d/syslog-ng $pkgdir/etc/minit/syslog-ng/run
39 echo "sysinit\nnetwork" > $pkgdir/etc/minit/default/depends
41 echo "start" > $pkgdir/etc/minit/network/params
42 echo "syslog-ng" > $pkgdir/etc/minit/network/depends
44 echo "start" > $pkgdir/etc/minit/syslog-ng/params
46 touch $pkgdir/etc/minit/sysinit/sync
53 # vim:set ts=2 sw=2 et:
54 md5sums=('4b76cee0df8da0f7f901bf21e1ec484d')