updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / fnord / PKGBUILD
blob1a89bbcd8617f79452ce2271b5e46ff5a6d289d1
1 pkgname=fnord
2 pkgver=1.10
3 pkgrel=10
4 pkgdesc="Yet another small httpd"
5 arch=(i686 x86_64)
6 url="http://www.fefe.de/fnord/"
7 license=("GPL")
8 depends=('glibc' 'ipsvd' 'runit')
9 install=fnord.install
10 source=(http://www.fefe.de/fnord/$pkgname-$pkgver.tar.bz2
11         php.patch
12         run
13         run.log)
15 md5sums=('4c7d9f0e2b2f071d4687688f3018ba91'
16          'cf021b32442a281a9b0264e2767f74be'
17          'e56d87e0d6d29de1c4310c1ff350ebef'
18          'c5a660b5ab7fd112ff3f4ba084391af9')
20 build() {
21   cd $srcdir/$pkgname-$pkgver
22   patch -p1 -i ../php.patch
23   make DIET="$DIET" CFLAGS="-Os -fomit-frame-pointer -DAUTH"
24   install -d $pkgdir/usr/bin
25   install -m 755 fnord fnord-idx fnord-cgi $pkgdir/usr/bin 
26   install -d $pkgdir/etc/sv/fnord/
27   install -d $pkgdir/etc/sv/fnord/log
28   install -m 755 $srcdir/run $pkgdir/etc/sv/fnord
29   install -m 755 $srcdir/run.log $pkgdir/etc/sv/fnord/log