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>
10 pkgdesc='An ad-hoc single file webserver; Web Offer One File - Patched for python 3 support'
12 url='http://www.home.unix-ag.org/simon/woof.html'
18 source=("http://www.home.unix-ag.org/simon/$_pkgname-$_pkgver.py"
21 md5sums=('4df770eedef7b011fc37d42015c801b9'
22 '5e9e01f7be55377ca9f1d3e0602fdc42'
23 '7fa012fb075c0bff717a674c01e04d16')
27 patch -p1 -i ../woof-python3.patch
28 patch -p0 -i ../woof-nofork.patch
33 install -D -m755 "$_pkgname-$_pkgver.py" "$pkgdir/usr/bin/$_pkgname"