updated on Sat Jan 14 00:11:12 UTC 2012
[aur-mirror.git] / daemontools / PKGBUILD
blobaf97a94a6394ecdd350a8f7eb1fa06d07ea3e6c5
1 # Contributor: jianingy <jianingy.yang AT gmail.com>
2 # COntributor: cmb <chris AT the-brannons.com>
3 # Contributor: hatred <hatred AT inbox.ru>
5 pkgname=daemontools
6 pkgrel=5
7 pkgver=0.76
8 pkgdesc="daemontools is a collection of tools for managing UNIX services."
9 arch=(i686 x86_64)
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
15 source=(
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'
21 md5sums=(
22     '1871af2453d6e464034968a0fbcb2bfc'
23         '2d3858a48f293c87202f76cd883438ee'
24         '1ab80be37239e920542425baa8f1c5b9'
25         '416d6759cb7215a37e109760722b5330'
27 sha1sums=(
28         '70a1be67e7dbe0192a887905846acc99ad5ce5b7'
29         '28e167def0e457f2be10aa90504c402fa08723ab'
30         'ee5b43b333dae9ee3ad0d2f9aeb9c1e2537f0978' 
31         'eddafd04829bfb6ebf96422b40b6d8b706561900'
34 build() { 
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