diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 5 insertions, 5 deletions
@@ -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 @@ -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() { |