diff options
author | Nikolay Korotkiy | 2019-10-29 18:13:47 +0300 |
---|---|---|
committer | Nikolay Korotkiy | 2019-10-29 18:13:47 +0300 |
commit | f042b388ef479c04b5558d1a40649fb79135b150 (patch) | |
tree | 8124c06e3a599e95a51c7b8a269e9015418255cf /PKGBUILD | |
parent | 5edd8a1a3d6ed9bd7bc0b5a0a42db67b5be2d37e (diff) | |
download | aur-gpscorrelate-git.tar.gz |
release 2.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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() { |