diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 7 insertions, 2 deletions
@@ -1,6 +1,6 @@ pkgbase = zig-game-git pkgdesc = It's a game where you shoot stuff - pkgver = 1 + pkgver = v1.2.r0.gf1095b8 pkgrel = 1 url = https://github.com/bcampbell/zig arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> pkgname=zig-game-git -pkgver=1 +pkgver=v1.2.r0.gf1095b8 pkgrel=1 pkgdesc="It's a game where you shoot stuff" arch=('x86_64') @@ -14,6 +14,11 @@ conflicts=('zig-game') source=("git+https://github.com/bcampbell/zig") sha256sums=('SKIP') +pkgver() { + cd zig + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + build() { cd zig arch-meson build |