updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / pygopherd / PKGBUILD
blob7dd7ef6ef1e458642feb20abda7e6efe84dc7912
1 # Maintainer: wakeup <wakeup@erehwon.de>
2 pkgname=pygopherd
3 pkgver=2.0.16
4 pkgrel=2
5 pkgdesc="A modern Gopher server and HTTP gateway."
6 arch=(i686 x86_64)
7 url="http://gopher.quux.org:70/devel/gopher/pygopherd"
8 license=('GPL')
9 depends=(python)
10 makedepends=()
11 conflicts=()
12 replaces=()
13 backup=('etc/pygopherd/pygopherd.conf' 'etc/pygopherd/mime.types')
14 install=
15 source=(http://gopher.quux.org:70/devel/gopher/Downloads/$pkgname/${pkgname}_$pkgver.tar.gz)
16 md5sums=('6d52e316f842714974ccaf5cc1835ce3')
19 build() {
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