summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYen Chi Hsuan2014-06-20 01:42:15 +0800
committerYen Chi Hsuan2014-06-20 01:42:15 +0800
commit5acb6ced58a5f64a796e8578a60f774ecd196872 (patch)
tree23da5c65c68430d92adad1b2c60da1a308dd1b64
parentb464ff2158207e43e9820c6136816237bbc97110 (diff)
downloadaur-5acb6ced58a5f64a796e8578a60f774ecd196872.tar.gz
Fix pkgver() of dhcptest-git
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1e364e44398..eb9b5ec0738 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Yen Chi Hsuan <yan12125 at gmail dot com>
pkgname=dhcptest-git
-pkgver=20140406
+pkgver=0.3.r1.ga34cf82
pkgrel=1
pkgdesc="DHCP test client"
arch=('i686' 'x86_64')
@@ -16,7 +16,7 @@ md5sums=('SKIP'
pkgver() {
cd "$srcdir/$pkgname"
# Use the tag of the last commit
- git describe --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
+ git describe --long --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {