summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFrederic Bezies2021-05-05 17:45:55 +0200
committerFrederic Bezies2021-05-05 17:45:55 +0200
commit871b0a2ff2142dd4bae44876abcf1b6ff33269da (patch)
treececdebab8ee1d99cf6b3adc6e37eb53425030a26 /PKGBUILD
parent9141ae101b53cc4693439fd720a769f6aa8d851d (diff)
downloadaur-openclonk-git.tar.gz
May 5th, 2021 update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e478b4ab6e0e..959e0fabec9c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {