1 # Maintainer: Kaiting Chen <kaitocracy@gmail.com>
2 # Contributor: Mark Rosenstand <mark@archlinux.org>
3 # Contributor: Nathan Owe <ndowens04+AUR @ gmail.com>
8 pkgdesc='Simple gopher/web server with HTTP support'
10 url='http://gofish.sourceforge.net/'
11 arch=('i686' 'x86_64')
12 backup=('etc/gofish.conf' 'etc/gofish-www.conf')
14 install='gofish.install'
16 md5sums=('a44fc268354ec97324fa25572910c412'
17 '23ff978124baeec51950beb9ff2973ae')
18 source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
22 cd "${srcdir}/${pkgname}"
24 install -Dm755 $srcdir/gopherd.rc.d \
25 $pkgdir/etc/rc.d/gopherd
27 ./configure --prefix=/usr \
29 --localstatedir=/var \
30 --disable-mmap-cache \
31 --with-gopherroot=/var/gopher \
32 --with-gopheruser=gopher
33 make; make DESTDIR=$pkgdir install