summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD5
2 files changed, 6 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7cbe0b0e46dd..73c868a516c5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
-# Generated by makepkg 5.1.3
-# Tue Oct 8 09:24:32 UTC 2019
+# Generated by makepkg 5.2.0
+# Tue Oct 29 15:12:23 UTC 2019
pkgbase = gpscorrelate-git
pkgdesc = GPS Photo Correlation; Writes location data to EXIF tags using GPX files (command line and GTK interface).
- pkgver = r175.f6401ff
+ pkgver = 2.0.r1.gf00b4d9
pkgrel = 1
url = https://dfandrich.github.io/gpscorrelate/
arch = x86_64
@@ -12,7 +12,7 @@ pkgbase = gpscorrelate-git
depends = libxml2
depends = gtk3
depends = exiv2
- provides = gpscorrelate=r175.f6401ff
+ provides = gpscorrelate=2.0.r1.gf00b4d9
conflicts = gpscorrelate
source = gpscorrelate-master::git://github.com/dfandrich/gpscorrelate.git#branch=master
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 7b686e806f37..8a04230ae2bf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _orgname=dfandrich
_pkgname=gpscorrelate
_branch=master
pkgname=${_pkgname}-git
-pkgver=r175.f6401ff
+pkgver=2.0.r1.gf00b4d9
pkgrel=1
pkgdesc='GPS Photo Correlation; Writes location data to EXIF tags using GPX files (command line and GTK interface).'
arch=('x86_64')
@@ -22,8 +22,7 @@ sha256sums=('SKIP')
pkgver() {
cd ${_pkgname}-${_branch}
- # Get the version number.
- printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {