diff options
author | dacoit | 2015-08-09 00:11:04 -0500 |
---|---|---|
committer | dacoit | 2015-08-09 00:11:04 -0500 |
commit | 1cb3bb3335bcc73c6abeb1dd088f1dae0964f0a5 (patch) | |
tree | 9087e8ff76385aa4774eb346e46e0aca2cea4475 /PKGBUILD | |
download | aur-1cb3bb3335bcc73c6abeb1dd088f1dae0964f0a5.tar.gz |
Initial commit, recovered from AUR3
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..6c5fac47b581 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 26387 2010-09-15 10:52:53Z cbrannon $ +# Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net> +# Maintainer: Aaron Schaefer <aaron@elasticdog.com> +# Contributor: Evan Gates <evan.gates at gmail dot com> +# Contributor: Vardyr <vardyr.al at insocada dot com> + +pkgname=woof +pkgver=20120531 +_pkgver='2012-05-31' +pkgrel=1 +pkgdesc='An ad-hoc single file webserver; Web Offer One File' +arch=('any') +url='http://www.home.unix-ag.org/simon/woof.html' +license=('GPL2') +depends=('python2') +conflicts=('woof-python3') +source=("http://www.home.unix-ag.org/simon/$pkgname-$_pkgver.py") +md5sums=('89081e64362421dcb683a19c10a15e59') + +build() { + /bin/true +} + +package() { + cd "$srcdir" + + install -D -m755 "$pkgname-$_pkgver.py" "$pkgdir/usr/bin/$pkgname" + sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \ + "$pkgdir/usr/bin/$pkgname" +} |