updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / woof-python3 / PKGBUILD
blob4475c197379603338104b11c0ddfd522654d43d7
1 # Maintainer: Peter B. Jørgensen <peterbjorgensen@gmail.com>
2 # Contributor: Evan Gates <evan.gates at gmail dot com>
3 # Contributor: Vardyr <vardyr.al at insocada dot com>
5 pkgname=woof-python3
6 pkgver=20091227
7 _pkgver='2009-12-27'
8 _pkgname='woof'
9 pkgrel=3
10 pkgdesc='An ad-hoc single file webserver; Web Offer One File - Patched for python 3 support'
11 arch=('any')
12 url='http://www.home.unix-ag.org/simon/woof.html'
13 license=('GPL')
14 depends=('python')
15 conflicts=('woof')
16 provides=('woof')
17 replaces=('woof')
18 source=("http://www.home.unix-ag.org/simon/$_pkgname-$_pkgver.py"
19         "woof-python3.patch"
20         "woof-nofork.patch")
21 md5sums=('4df770eedef7b011fc37d42015c801b9'
22          '5e9e01f7be55377ca9f1d3e0602fdc42'
23          '7fa012fb075c0bff717a674c01e04d16')
25 build() {
26   cd "$srcdir"
27   patch -p1 -i ../woof-python3.patch
28   patch -p0 -i ../woof-nofork.patch
31 package() {
32   cd "$srcdir"
33   install -D -m755 "$_pkgname-$_pkgver.py" "$pkgdir/usr/bin/$_pkgname"