updated on Wed Jan 25 00:20:47 UTC 2012
[aur-mirror.git] / woof / PKGBUILD
blobcb84c72bffb0caf9dff8a6ca516fddfc36db7d3b
1 # $Id: PKGBUILD 26387 2010-09-15 10:52:53Z cbrannon $
2 # Maintainer: Aaron Schaefer <aaron@elasticdog.com>
3 # Contributor: Evan Gates <evan.gates at gmail dot com>
4 # Contributor: Vardyr <vardyr.al at insocada dot com>
6 pkgname=woof
7 pkgver=20091227
8 _pkgver='2009-12-27'
9 pkgrel=3
10 pkgdesc='An ad-hoc single file webserver; Web Offer One File'
11 arch=('any')
12 url='http://www.home.unix-ag.org/simon/woof.html'
13 license=('GPL')
14 depends=('python2')
15 source=("http://www.home.unix-ag.org/simon/$pkgname-$_pkgver.py")
16 md5sums=('4df770eedef7b011fc37d42015c801b9')
18 build() {
19   /bin/true
22 package() {
23   cd "$srcdir"
25   install -D -m755 "$pkgname-$_pkgver.py" "$pkgdir/usr/bin/$pkgname"
26   sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
27     "$pkgdir/usr/bin/$pkgname"