summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 27705b53d373..a30d6b9740f1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Gabriel Rauter <rauter.gabriel@gmail.com>
pkgname=n-acd
-pkgver=v1+12+ga409492
+pkgver=1+12+ga409492
pkgrel=1
pkgdesc="IPv4 Address Conflict Detection"
url="https://github.com/nettools/n-acd"
@@ -15,7 +15,7 @@ sha256sums=('SKIP')
pkgver() {
cd $pkgname
- git describe --tags | sed 's/-/+/g'
+ git describe --tags | sed 's/^v//g; s/-/+/g'
}
build() {