summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhaawda2020-06-15 12:16:45 +0200
committerhaawda2020-06-15 12:16:45 +0200
commitd10b58a3806765ec72e9ed73ba7662c978c981a6 (patch)
tree30b57ccf96b6dae329bb64884af74207c8e77836 /PKGBUILD
parent97e0a386115fddd54b00afb31b8834425f796b61 (diff)
downloadaur-d10b58a3806765ec72e9ed73ba7662c978c981a6.tar.gz
change pkgver function
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d955c679835..508f01c3fe4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
pkgname=fzy-git
-pkgver=r340.2be07b5
+pkgver=1.0.r38.gc2d816d
pkgrel=1
pkgdesc="A fuzzy text selector menu for the terminal"
arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ md5sums=('SKIP')
pkgver() {
cd ${pkgname%-git}
- printf "r%s.%s" $(git rev-list --count HEAD) $(git rev-parse --short HEAD)
+ git describe --tags | sed "s+-+.r+" | tr - .
}
build() {