summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Swanson2020-01-22 00:03:26 -0800
committerMike Swanson2020-01-22 00:03:26 -0800
commit3a58d08982579737cf87afdf352c93c000bb16c9 (patch)
tree0e4470c2763b238b12867fa56604e24168df4033
parentde693b94a0a91e1c4eb462ed8660717f778b9eab (diff)
downloadaur-3a58d08982579737cf87afdf352c93c000bb16c9.tar.gz
Use the 0.9.0 tag as a base
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 60ebde840131..b4cca3e17b81 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = woof-git
pkgdesc = Doom port remaining faithful to Lee Killough’s MBF on DOS
- pkgver = r121.ffef698
- pkgrel = 2
+ pkgver = 0.9.0.r2.76ff38f
+ pkgrel = 1
url = https://github.com/fabiangreffrath/woof
arch = x86_64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index ea07c5643c1a..d57b306deeeb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=woof-git
-pkgver=r121.ffef698
-pkgrel=2
+pkgver=0.9.0.r2.76ff38f
+pkgrel=1
pkgdesc="Doom port remaining faithful to Lee Killough’s MBF on DOS"
arch=("x86_64")
url="https://github.com/fabiangreffrath/woof"
@@ -15,7 +15,7 @@ sha512sums=('SKIP')
pkgver() {
cd "$srcdir/${pkgname%-git}"
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ printf "%s" "$(git describe --tags --long | sed 's/^woof_//;s/\([^-]*-\)g/r\1/;s/-/./g')"
}
prepare() {