diff options
author | Patrick Northon | 2023-12-26 02:51:13 -0500 |
---|---|---|
committer | Patrick Northon | 2023-12-26 02:51:13 -0500 |
commit | 77be5075fdc611340540ceb6a0dd3d94e0bf2605 (patch) | |
tree | 69c1ff5a9c0a9da2fdcc81e5ee8817c75a6a12d1 /PKGBUILD | |
parent | 891929f7a8e547441a2307f7abd673ee89a17129 (diff) | |
download | aur-arx-libertatis-git.tar.gz |
Limit git rev-parse to 7 chars.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ _pkgname=arx-libertatis pkgname=$_pkgname-git -pkgver=1.2.r2714.ga7ae811 +pkgver=1.2.r2721.ga50f803 pkgrel=1 pkgdesc='Cross-platform port of Arx Fatalis, a first-person role-playing game (executables only) (Git)' url='https://arx-libertatis.org/' @@ -34,7 +34,7 @@ pkgver() { cd "$srcdir/ArxLibertatis" ( set -o pipefail git describe --abbrev=7 --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)" ) } |