yet again

This commit is contained in:
creations 2025-01-28 23:33:35 -05:00
parent 16c4b29c17
commit 51658ac751
Signed by: creations
GPG key ID: 8F553AA4320FC711
3 changed files with 3 additions and 12 deletions

View file

@ -20,11 +20,9 @@ conflicts=('navithingy')
pkgver() {
cd "$srcdir/NaviThingy"
local tag
local tag rev commit
tag=$(git describe --tags --abbrev=0 | sed 's/^NaviThingy//' | tr -d 'v')
local rev
rev=$(git rev-list --count HEAD)
local commit
commit=$(git rev-parse --short HEAD)
echo "${tag}.r${rev}.${commit}"