summarylogtreecommitdiffstats
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
parent7419edbe74274a198ed8f22d9391a70475d41a22 (diff)
downloadaur-f5f76aa6d38f5627681a94903de7a12e38b112a7.tar.gz
Fixed pkgver.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 765f7e3c441..9093496b6a7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Sep 18 22:58:47 UTC 2016
+# Wed Oct 26 19:06:52 UTC 2016
pkgbase = gimp-elsamuko-scripts
pkgdesc = Varoius Gimp scripts made by elsamuko
- pkgver = b3f4e3e7
+ pkgver = r7.b3f4e3e7
pkgrel = 1
url = https://sites.google.com/site/elsamuko/gimp
arch = any
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'