mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-28 23:21:53 +00:00
24 lines
726 B
Bash
24 lines
726 B
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
|
|
|
|
pkgname=darkhttpd
|
|
pkgver=1.7
|
|
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=('76e55a5a443094016daf141062ae62b7')
|
|
|
|
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 && \
|
|
head -n 18 darkhttpd.c >$pkgdir/usr/share/licenses/$pkgname/license
|
|
}
|