updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / monkey / PKGBUILD
blob37f2e68da859ba1ba6d110db32e6a0c1758bd45c
1 #Maintainer: Joel Heaton <jheaton at archlinux dot us>
2 #Contributor: Gary Wright <wriggary at gmail dot com>
3 pkgname=monkey
4 pkgver=0.21.0
5 pkgrel=1
6 pkgdesc="A very small and fast open source web server for Linux"
7 arch=('i686' 'x86_64')
8 url="http://www.monkey-project.com/"
9 license=('GPL2')
10 depends=('gcc-libs')
11 optdepends=('php')
12 source=("http://www.monkey-project.com/releases/0.21/$pkgname-$pkgver.tar.gz"
13     monkey)
14 install=monkey.install
15 md5sums=('2ec523fb4777aef215834b71107777d6'
16          '1527d1fbddddcfd69ad328639dcd0eed')
18 build() {
19   cd $srcdir/$pkgname-$pkgver
20   ./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc/$pkgname \
21   --datadir=/srv/http --logdir=/var/log/$pkgname \
22   --plugdir=/usr/lib/$pkgname
23   make 
24   make DESTDIR=$pkgdir install
25   install -d $pkgdir/etc/rc.d/
26   install -m 755 ../monkey $pkgdir/etc/rc.d/monkey