summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoralexdiaconescu2016-11-17 08:43:25 +0200
committeralexdiaconescu2016-11-17 08:43:25 +0200
commit2648bfbc6c922251eb4a94bfc0e3c770dbcd2686 (patch)
tree9052680919fe735b6182e32884c94c7f84236d4b /PKGBUILD
parenta05c1f86873921e104794852857291dbb63d1cd5 (diff)
downloadaur-2648bfbc6c922251eb4a94bfc0e3c770dbcd2686.tar.gz
r1345.edd2b4d
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 41fecc73b522..ced1355d4b8b 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Darko82 <darko 82 (hat) gmail dotcom>
# Maintainer: Joermungand <joermungand at gmail dot com>
pkgname=photoflow-git
-pkgver=0.2.7.r75.g78d1695
+pkgver=r1345.edd2b4d
pkgrel=1
pkgdesc="Non-destructive, layer-based photo retouching including RAW image development"
arch=('i686' 'x86_64')
@@ -17,7 +17,8 @@ md5sums=("SKIP")
pkgver() {
cd ${pkgname%-*}
- git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+# git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {