diff options
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 22 |
2 files changed, 14 insertions, 18 deletions
@@ -1,14 +1,12 @@ pkgbase = woof pkgdesc = An ad-hoc single file webserver; Web Offer One File - pkgver = 20120531 + pkgver = 20200624 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 - md5sums = 89081e64362421dcb683a19c10a15e59 + depends = python3 + source = git+https://github.com/simon-budig/woof + md5sums = SKIP pkgname = woof - @@ -1,25 +1,23 @@ -# Maintainer: dacoit <dacoit at tuta.io> +# Maintainer: Schroedinger <1181822466 at qq dot com> +# Contributor: dacoit <dacoit at tuta.io> # Contributor: Andreas B. Wagner <AndreasBWagner@pointfree.net> # Contributor: 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=20200624 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' +url="http://www.home.unix-ag.org/simon/$pkgname.html" license=('GPL2') -depends=('python2') -conflicts=('woof-python3') -source=("http://www.home.unix-ag.org/simon/$pkgname") -md5sums=('89081e64362421dcb683a19c10a15e59') - -prepare() { - sed -i 's|^#!/usr/bin/env python$|#!/usr/bin/env python2|' "$pkgname" -} +depends=('python3') +conflicts=() +source=("git+https://github.com/simon-budig/$pkgname") +md5sums=('SKIP') package() { + cd "$srcdir/$pkgname" install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" } |