summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Goto2018-09-20 13:21:14 +0200
committerPhilip Goto2018-09-20 13:21:14 +0200
commitfba31ef600c2a37686e782977971814219fe0470 (patch)
treeff3a0b2bd26d6d403265f0bfcaa536622f48d389
parent6181d04ea49f9563f17fbc40688cf3d23f3a9770 (diff)
downloadaur-fba31ef600c2a37686e782977971814219fe0470.tar.gz
Generate version without tags
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f55e3b4f74a..9f18ddacea4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 080cb93a727..ae339f431e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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() {