summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPiotr Rogoża2016-10-26 21:06:59 +0200
committerPiotr Rogoża2016-10-26 21:06:59 +0200
commitf5f76aa6d38f5627681a94903de7a12e38b112a7 (patch)
tree1d258d27d5309cc23f1aa1ea13213345017bb05e /PKGBUILD
parent7419edbe74274a198ed8f22d9391a70475d41a22 (diff)
downloadaur-f5f76aa6d38f5627681a94903de7a12e38b112a7.tar.gz
Fixed pkgver.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8a409b6fe11..1ea84a660eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,7 +31,7 @@ gimp-script-white-balance-puzzle
gimp-script-vintage-look
gimp-script-split-tone
)
-pkgver=b3f4e3e7
+pkgver=r7.b3f4e3e7
pkgrel=1
pkgdesc='Varoius Gimp scripts made by elsamuko'
arch=(any)
@@ -53,7 +53,8 @@ _gitname=gimp-elsamuko
pkgver(){
if [ -d "$srcdir"/$_gitname ]; then
cd "$srcdir"/$_gitname
- git describe --always | sed 's|-|.|g'
+# git describe --always | sed 's|-|.|g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
fi
}
_scriptsdir_eval='_scriptsdir="$pkgdir"/usr/share/gimp/2.0/scripts'