summaryrefslogtreecommitdiff
path: root/community/darkhttpd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-08-25 23:14:43 +0000
committerroot <root@rshg054.dnsready.net>2011-08-25 23:14:43 +0000
commit9621cbabd4788b98dfdee59d784c4b4b58384c6b (patch)
tree8dbd549f0f81a825febf0db7fbf641db995459be /community/darkhttpd
parentf53c212680c1817ef2337855ef8814dea6b07e4e (diff)
Thu Aug 25 23:14:43 UTC 2011
Diffstat (limited to 'community/darkhttpd')
-rw-r--r--community/darkhttpd/PKGBUILD20
1 files changed, 9 insertions, 11 deletions
diff --git a/community/darkhttpd/PKGBUILD b/community/darkhttpd/PKGBUILD
index 00d9be2bc..03079eb52 100644
--- a/community/darkhttpd/PKGBUILD
+++ b/community/darkhttpd/PKGBUILD
@@ -1,24 +1,22 @@
-# $Id: PKGBUILD 17385 2010-05-24 09:45:21Z spupykin $
+# $Id: PKGBUILD 54744 2011-08-24 10:41:02Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
pkgname=darkhttpd
-pkgver=1.7
-pkgrel=3
+pkgver=1.8
+pkgrel=1
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=('76e55a5a443094016daf141062ae62b7')
+md5sums=('cff3861af17b109d796993a990ec4c5b')
build() {
- cd $startdir/src/$pkgname-$pkgver
-
- # Causes nasty output in 1.5 because of missing uname, but doesn't affect the build
- make || return 1
- install -D $startdir/src/$pkgname-$pkgver/darkhttpd $startdir/pkg/usr/sbin/darkhttpd || return 1
-
- mkdir -p $pkgdir/usr/share/licenses/$pkgname && \
+ cd $srcdir/$pkgname-$pkgver
+ make
+ 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
}