updated on Thu Jan 26 12:02:26 UTC 2012
[aur-mirror.git] / procboss / PKGBUILD
blob003106a4fdf710531c86e695a27d79d70930ccaa
1 # Maintainer: Paul Colomiets <paul@colomiets.name>
3 pkgname=procboss
4 pkgver=0.2.9
5 pkgrel=1
6 pkgdesc="A process supervisor"
7 arch=('i686' 'x86_64')
8 url="http://github.com/tailhook/procboss"
9 license=('MIT')
10 makedepends=('coyaml' 'docutils')
11 backup=("etc/bossd.yaml")
12 source=(https://github.com/downloads/tailhook/procboss/$pkgname-$pkgver.tar.gz)
13 md5sums=('234345837f09bc4f55aec6eff24cbbba')
15 build() {
16   cd $srcdir/$pkgname-$pkgver
17   ./waf configure --prefix=/usr
18   ./waf build
21 package() {
22   cd $srcdir/$pkgname-$pkgver
23   ./waf install --destdir=$pkgdir
24   install -d -m755 $pkgdir/usr/share/procboss/examples
25   install -m644 ./examples/services/* "$pkgdir/usr/share/$pkgname/examples"
26   install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"