diff options
author | Philip Goto | 2018-09-20 13:21:14 +0200 |
---|---|---|
committer | Philip Goto | 2018-09-20 13:21:14 +0200 |
commit | fba31ef600c2a37686e782977971814219fe0470 (patch) | |
tree | ff3a0b2bd26d6d403265f0bfcaa536622f48d389 | |
parent | 6181d04ea49f9563f17fbc40688cf3d23f3a9770 (diff) | |
download | aur-fba31ef600c2a37686e782977971814219fe0470.tar.gz |
Generate version without tags
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ pkgbase = akira-git pkgdesc = Native Linux App for UI and UX Design built in Vala and Gtk - pkgver = latest + pkgver = r140.770013b pkgrel = 1 url = https://github.com/Alecaddd/Akira arch = x86_64 @@ -1,7 +1,7 @@ # Maintainer: Philip Goto <philip.goto@gmail.com> pkgname=akira-git -pkgver=latest +pkgver=r140.770013b pkgrel=1 pkgdesc="Native Linux App for UI and UX Design built in Vala and Gtk" arch=(x86_64) @@ -17,7 +17,7 @@ sha256sums=(SKIP) pkgver() { cd Akira - git describe --long --tags --always | sed 's/\([^-]*-g\)/r\1/;s/-/./g' + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } prepare() { |