diff options
author | Joeny Ang | 2015-07-07 16:54:51 +0800 |
---|---|---|
committer | Joeny Ang | 2015-07-07 16:54:51 +0800 |
commit | 373dba0ab33d476b847531e2d37f3ed827a537af (patch) | |
tree | e39512fda9fa551bbfdaa8045d61b4dab0dfb613 | |
parent | 567653e1e28686dfb3de9205787084c280cf8a97 (diff) | |
download | aur-nautilus-ideviceinfo-git.tar.gz |
PKGBUILD fixes
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |