updated on Fri Jan 13 08:00:32 UTC 2012
[aur-mirror.git] / gofish / PKGBUILD
blob646119758ce85ffc6c597632e3b695545cf9bf4f
1 # Maintainer: Kaiting Chen <kaitocracy@gmail.com>
2 # Contributor: Mark Rosenstand <mark@archlinux.org>
3 # Contributor: Nathan Owe <ndowens04+AUR @ gmail.com>
5 pkgname='gofish'
6 pkgver='1.2'
7 pkgrel='1'
8 pkgdesc='Simple gopher/web server with HTTP support'
9 license=('GPL-2')
10 url='http://gofish.sourceforge.net/'
11 arch=('i686' 'x86_64')
12 backup=('etc/gofish.conf' 'etc/gofish-www.conf')
13 provides=('gopherd')
14 install='gofish.install'
16 md5sums=('a44fc268354ec97324fa25572910c412'
17          '23ff978124baeec51950beb9ff2973ae')
18 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
19   'gopherd.rc.d')
21 build() {
22   cd "${srcdir}/${pkgname}"
24   install -Dm755 $srcdir/gopherd.rc.d \
25     $pkgdir/etc/rc.d/gopherd
27   ./configure --prefix=/usr \
28     --sysconfdir=/etc \
29     --localstatedir=/var \
30     --disable-mmap-cache \
31     --with-gopherroot=/var/gopher \
32     --with-gopheruser=gopher
33   make; make DESTDIR=$pkgdir install