1 # Maintainer: wakeup <wakeup@erehwon.de>
5 pkgdesc="A modern Gopher server and HTTP gateway."
7 url="http://gopher.quux.org:70/devel/gopher/pygopherd"
13 backup=('etc/pygopherd/pygopherd.conf' 'etc/pygopherd/mime.types')
15 source=(http://gopher.quux.org:70/devel/gopher/Downloads/$pkgname/${pkgname}_$pkgver.tar.gz)
16 md5sums=('6d52e316f842714974ccaf5cc1835ce3')
20 mkdir -p $startdir/pkg/etc/rc.d
21 cp $startdir/pygopherd $startdir/pkg/etc/rc.d/pygopherd
22 chmod +x $startdir/pkg/etc/rc.d/pygopherd
23 cd $startdir/src/$pkgname
24 python setup.py install -O2 --prefix=/usr --root=$startdir/pkg || return 1