summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoeny Ang2015-07-07 16:54:51 +0800
committerJoeny Ang2015-07-07 16:54:51 +0800
commit373dba0ab33d476b847531e2d37f3ed827a537af (patch)
treee39512fda9fa551bbfdaa8045d61b4dab0dfb613
parent567653e1e28686dfb3de9205787084c280cf8a97 (diff)
downloadaur-nautilus-ideviceinfo-git.tar.gz
PKGBUILD fixes
-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