summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSchroedingersdoraemon2021-09-30 03:44:32 +0800
committerSchroedingersdoraemon2021-09-30 03:44:32 +0800
commit55c5cf554428a39cfbb540a12299ba09cca46018 (patch)
treee96ae41b8704cd134ec5ba46f022bccc0b06aa05
parent2c53a0fedb7cbabb2aa34498b446af9f94174eb6 (diff)
downloadaur-55c5cf554428a39cfbb540a12299ba09cca46018.tar.gz
Updated PKGBUILD and .SRCINFO
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD22
2 files changed, 14 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3fa36a77601..a6d632ce6ae 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
-
diff --git a/PKGBUILD b/PKGBUILD
index ea41a2f20b8..da41c8d8c39 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}