summaryrefslogtreecommitdiff
path: root/community/darkhttpd/PKGBUILD
blob: b2c3b85bbb5b1b2613b2eee53028a7268b7c31f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $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.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=('cff3861af17b109d796993a990ec4c5b')

build() {
  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
}