summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Boxdörfer2016-07-22 20:20:42 +0200
committerChristian Boxdörfer2016-07-22 20:20:42 +0200
commit2b26b04ab0a6f4d62d1ef98fde5b42234ef43d02 (patch)
tree681af68f519b3457f16a5d81bf92e571f1842558
parent2b5a2d8f47625ec5f17f155d5903d9726c7384cf (diff)
downloadaur-2b26b04ab0a6f4d62d1ef98fde5b42234ef43d02.tar.gz
fix versioning
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0ea5b570280..0ef7806272b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = fsearch-git
pkgdesc = A fast file search utility. Git Version.
- pkgver = 2016.07.14
+ pkgver = r90.5a06563
pkgrel = 1
url = https://cboxdoerfer.github.io/fsearch
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index bab7d07417e..fe7424331b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Christian Boxdörfer <christian.boxdoerfer@posteo.de>
pkgname=fsearch-git
_gitname=fsearch
-pkgver=2016.07.14
+pkgver=r90.5a06563
pkgrel=1
pkgdesc="A fast file search utility. Git Version."
arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ md5sums=('SKIP')
pkgver() {
cd $_gitname
- git log -1 --format=%cd --date=short | sed 's|-|.|g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {