summaryrefslogtreecommitdiff
path: root/community/darkhttpd/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/darkhttpd/PKGBUILD')
-rw-r--r--community/darkhttpd/PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/darkhttpd/PKGBUILD b/community/darkhttpd/PKGBUILD
new file mode 100644
index 000000000..d6c7f1f84
--- /dev/null
+++ b/community/darkhttpd/PKGBUILD
@@ -0,0 +1,26 @@
+# $Id: PKGBUILD 91852 2013-05-28 17:25:58Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
+
+pkgname=darkhttpd
+pkgver=1.9
+pkgrel=2
+pkgdesc="A small, static webserver"
+arch=('i686' 'x86_64')
+url="http://dmr.ath.cx/net/darkhttpd/"
+license=('BSD')
+depends=('glibc')
+source=($url/$pkgname-$pkgver.tar.bz2)
+md5sums=('156f239af542028c3fb5c2248aa0db8d')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ install -D $srcdir/$pkgname-$pkgver/darkhttpd $pkgdir/usr/bin/darkhttpd
+ mkdir -p $pkgdir/usr/share/licenses/$pkgname
+ head -n 18 darkhttpd.c >$pkgdir/usr/share/licenses/$pkgname/license
+}