diff options
Diffstat (limited to 'community/darkhttpd')
-rw-r--r-- | community/darkhttpd/PKGBUILD | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/community/darkhttpd/PKGBUILD b/community/darkhttpd/PKGBUILD index 7cbb1baf4..b2c3b85bb 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' 'mips64el') 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 } |