summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 900411b49754..765c5bded38f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=nautilus-ideviceinfo-git
_gitname=nautilus-ideviceinfo
-pkgver=0.1.0.74.g93b6551
+pkgver=0.1.0.r74.g93b6551
pkgrel=1
pkgdesc="Show information about your iOS device"
arch=('i686' 'x86_64')
@@ -20,7 +20,7 @@ pkgver() {
cd ${srcdir}/${_gitname}
# Use the tag of the last commit
- git describe --always | sed 's|-|.|g'
+ git describe --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
# Use current date
# date +%Y%m%d