summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoranthraxx2015-12-11 23:57:52 +0100
committeranthraxx2015-12-11 23:57:52 +0100
commitcb61c1103fb9274670aebff982794583e9684d18 (patch)
treea6073884eb62bf539273ccb236aefe7962f5a0ec /PKGBUILD
parent0e635fdd59652aaee54af112eca92711e5aabbd1 (diff)
downloadaur-cb61c1103fb9274670aebff982794583e9684d18.tar.gz
upgpkg: thc-ipv6-git 3.1.17.b592009-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4ffc49335352..21e7c879fd0b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=thc-ipv6-git
_pkgname=${pkgname/-git}
-pkgver=3.0.15.e5f1616
+pkgver=3.1.17.b592009
pkgrel=1
pkgdesc='Complete tool set to attack the inherent protocol weaknesses of IPv6 and ICMP6'
url='https://thc.org/thc-ipv6/'
@@ -20,7 +20,7 @@ sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
- printf "%s.%s.%s" "$(cat CHANGES|grep -E 'v[0-9\.]{3,}'| cut -d' ' -f1|cut -dv -f2|sort|tail -n1)" \
+ printf "%s.%s.%s" "$(cat CHANGES|grep -E '^v[0-9\.]{3,}'|sed -r 's|^v([0-9\.]{3,}).*|\1|g'|sort|tail -n1)" \
"$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}