1 # Contributor: jianingy <jianingy.yang AT gmail.com>
2 # COntributor: cmb <chris AT the-brannons.com>
3 # Contributor: hatred <hatred AT inbox.ru>
8 pkgdesc="daemontools is a collection of tools for managing UNIX services."
10 url="http://cr.yp.to/daemontools.html"
11 license=('public domain')
12 depends=('pacman>=3.1.0')
13 backups=('/etc/inittab')
14 install=daemontools.install
16 "http://cr.yp.to/daemontools/$pkgname-$pkgver.tar.gz"
17 "http://smarden.org/pape/djb/manpages/daemontools-0.76-man.tar.gz"
18 'daemontools-0.76.errno.patch'
19 'daemontools-0.76.svscanboot-path-fix.patch'
22 '1871af2453d6e464034968a0fbcb2bfc'
23 '2d3858a48f293c87202f76cd883438ee'
24 '1ab80be37239e920542425baa8f1c5b9'
25 '416d6759cb7215a37e109760722b5330'
28 '70a1be67e7dbe0192a887905846acc99ad5ce5b7'
29 '28e167def0e457f2be10aa90504c402fa08723ab'
30 'ee5b43b333dae9ee3ad0d2f9aeb9c1e2537f0978'
31 'eddafd04829bfb6ebf96422b40b6d8b706561900'
35 cd $srcdir/admin/$pkgname-$pkgver || exit 1
36 patch -p1 < $srcdir/daemontools-0.76.errno.patch || exit 1
37 patch -p1 < $srcdir/daemontools-0.76.svscanboot-path-fix.patch || exit 1
38 package/compile || exit 1
39 mkdir -pv $pkgdir/usr/sbin $pkgdir/service || exit 1
40 cp -a command/* $pkgdir/usr/sbin || exit 1
41 mkdir -p $pkgdir/usr/share/man/man8 || exit 1
42 cp -a $srcdir/daemontools-man/* $pkgdir/usr/share/man/man8 || exit 1