diff options
author | Frederic Bezies | 2021-05-05 17:45:55 +0200 |
---|---|---|
committer | Frederic Bezies | 2021-05-05 17:45:55 +0200 |
commit | 871b0a2ff2142dd4bae44876abcf1b6ff33269da (patch) | |
tree | cecdebab8ee1d99cf6b3adc6e37eb53425030a26 /PKGBUILD | |
parent | 9141ae101b53cc4693439fd720a769f6aa8d851d (diff) | |
download | aur-openclonk-git.tar.gz |
May 5th, 2021 update
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -8,9 +8,10 @@ pkgname=openclonk-git pkgrel=1 -pkgver=r11491.701bcf38c +pkgver=7.0.r3173.g701bcf38c pkgdesc='Multiplayer-action-tactic-skill game' arch=('i686' 'x86_64') +epoch=1 url='http://openclonk.org' license=('custom') depends=('freealut' 'miniupnpc' 'sdl2' 'qt5-base' 'hicolor-icon-theme' 'tinyxml' 'libepoxy' 'libvorbis') @@ -22,7 +23,7 @@ sha256sums=('SKIP') pkgver() { cd "$pkgname" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -c2-48 } build() { |