yet again
This commit is contained in:
parent
16c4b29c17
commit
51658ac751
3 changed files with 3 additions and 12 deletions
4
PKGBUILD
4
PKGBUILD
|
@ -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}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue