summaryrefslogtreecommitdiff
path: root/community/darkhttpd
diff options
context:
space:
mode:
Diffstat (limited to 'community/darkhttpd')
-rw-r--r--community/darkhttpd/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/darkhttpd/PKGBUILD b/community/darkhttpd/PKGBUILD
index 07a3895da..a1aba40ca 100644
--- a/community/darkhttpd/PKGBUILD
+++ b/community/darkhttpd/PKGBUILD
@@ -1,21 +1,25 @@
-# $Id: PKGBUILD 65106 2012-02-20 04:47:15Z spupykin $
+# $Id: PKGBUILD 89410 2013-04-29 10:56:40Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=darkhttpd
-pkgver=1.8
-pkgrel=2
+pkgver=1.9
+pkgrel=1
pkgdesc="A small, static webserver"
arch=('i686' 'x86_64' 'mips64el')
url="http://dmr.ath.cx/net/darkhttpd/"
license=('BSD')
depends=('glibc')
source=($url/$pkgname-$pkgver.tar.bz2)
-md5sums=('cff3861af17b109d796993a990ec4c5b')
+md5sums=('156f239af542028c3fb5c2248aa0db8d')
build() {
cd $srcdir/$pkgname-$pkgver
make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
install -D $srcdir/$pkgname-$pkgver/darkhttpd $pkgdir/usr/sbin/darkhttpd
mkdir -p $pkgdir/usr/share/licenses/$pkgname
head -n 18 darkhttpd.c >$pkgdir/usr/share/licenses/$pkgname/license