summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordacoit2015-08-09 00:11:04 -0500
committerdacoit2015-08-09 00:11:04 -0500
commit1cb3bb3335bcc73c6abeb1dd088f1dae0964f0a5 (patch)
tree9087e8ff76385aa4774eb346e46e0aca2cea4475
downloadaur-1cb3bb3335bcc73c6abeb1dd088f1dae0964f0a5.tar.gz
Initial commit, recovered from AUR3
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD30
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..704c46ab4b4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = woof
+ pkgdesc = An ad-hoc single file webserver; Web Offer One File
+ pkgver = 20120531
+ pkgrel = 1
+ url = http://www.home.unix-ag.org/simon/woof.html
+ arch = any
+ license = GPL2
+ depends = python2
+ conflicts = woof-python3
+ source = http://www.home.unix-ag.org/simon/woof-2012-05-31.py
+ md5sums = 89081e64362421dcb683a19c10a15e59
+
+pkgname = woof
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6c5fac47b58
--- /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"
+}