diff options
author | dacoit | 2015-08-09 00:14:30 -0500 |
---|---|---|
committer | dacoit | 2015-08-09 00:14:30 -0500 |
commit | 2230b75cdb680ce9ea1e0429dbf7fabfa56e695e (patch) | |
tree | b3e6347c148ee3b5a72eb458a288bcad99447e01 | |
parent | 1cb3bb3335bcc73c6abeb1dd088f1dae0964f0a5 (diff) | |
download | aur-2230b75cdb680ce9ea1e0429dbf7fabfa56e695e.tar.gz |
Updated PKGBUILD
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 20 |
2 files changed, 7 insertions, 15 deletions
@@ -7,7 +7,7 @@ pkgbase = woof license = GPL2 depends = python2 conflicts = woof-python3 - source = http://www.home.unix-ag.org/simon/woof-2012-05-31.py + source = http://www.home.unix-ag.org/simon/woof md5sums = 89081e64362421dcb683a19c10a15e59 pkgname = woof @@ -1,12 +1,11 @@ -# $Id: PKGBUILD 26387 2010-09-15 10:52:53Z cbrannon $ -# Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net> -# Maintainer: Aaron Schaefer <aaron@elasticdog.com> +# Maintainer: 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='2012-05-31' pkgrel=1 pkgdesc='An ad-hoc single file webserver; Web Offer One File' arch=('any') @@ -14,17 +13,10 @@ 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") +source=("http://www.home.unix-ag.org/simon/$pkgname") 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" + sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' "$pkgname" + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" } |