PKGBUILDs/aur/monkey/PKGBUILD

28 lines
873 B
Bash
Raw Normal View History

#Maintainer: Christian Stankowic <info at stankowic hypen development dot net>
#Contributor: Gary Wright <wriggary at gmail dot com>
pkgname=monkey
pkgver=1.1.1
pkgrel=1
pkgdesc="A very small and fast open source web server for Linux"
arch=('i686' 'x86_64')
url="http://www.monkey-project.com/"
license=('GPL2')
depends=('gcc-libs')
optdepends=('php')
source=("http://www.monkey-project.com/releases/1.1/$pkgname-$pkgver.tar.gz"
monkey)
install=monkey.install
md5sums=('958d74ddcc595ae01b1d3916e9e7753c'
'1527d1fbddddcfd69ad328639dcd0eed')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --bindir=/usr/bin --sysconfdir=/etc/$pkgname \
--datadir=/srv/http --logdir=/var/log/$pkgname \
--plugdir=/usr/lib/$pkgname
make
make DESTDIR=$pkgdir install
install -d $pkgdir/etc/rc.d/
install -m 755 ../monkey $pkgdir/etc/rc.d/monkey
}