summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGabriel Rauter2018-09-29 14:06:36 +0200
committerGabriel Rauter2018-09-29 14:06:36 +0200
commit5db84533942add1387c391705718e82352a80a27 (patch)
tree7ca38157fc03b8d1839cfdb03e8b88d3aa9fb9c0
parent136f4f550036911ab017bb3c815722a348fe826e (diff)
downloadaur-5db84533942add1387c391705718e82352a80a27.tar.gz
fix version string
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bd2b5172148..2fb012f9ae4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = n-acd
pkgdesc = IPv4 Address Conflict Detection
- pkgver = v1+12+ga409492
+ pkgver = 1+12+ga409492
pkgrel = 1
url = https://github.com/nettools/n-acd
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 27705b53d37..a30d6b9740f 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() {