PKGBUILDs/community/webfs/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
845 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: Mark Rosenstand <mark@archlinux.org>
pkgname=webfs
pkgver=1.21
pkgrel=2
pkgdesc="Simple http server for mostly static content."
arch=(i686 x86_64)
url="http://linux.bytesex.org/misc/webfs.html"
license=("GPL")
depends=('openssl')
backup=(etc/conf.d/webfsd)
source=(http://dl.bytesex.org/releases/webfs/webfs-$pkgver.tar.gz
webfsd.rc webfsd.conf)
md5sums=('6dc125fe160479404147e7bbfc781dbc' '3ae9fcdcf79b193aa88e386055e9ebd7'
'b2c1ab041a82acd8391b06dc38d986be')
build() {
cd $startdir/src/$pkgname-$pkgver
make || return 1
make prefix=/usr DESTDIR=$startdir/pkg install
install -D -m755 ../webfsd.rc $startdir/pkg/etc/rc.d/webfsd
install -D -m644 ../webfsd.conf $startdir/pkg/etc/conf.d/webfsd
}