diff options
author | anthraxx | 2015-12-11 23:57:52 +0100 |
---|---|---|
committer | anthraxx | 2015-12-11 23:57:52 +0100 |
commit | cb61c1103fb9274670aebff982794583e9684d18 (patch) | |
tree | a6073884eb62bf539273ccb236aefe7962f5a0ec /PKGBUILD | |
parent | 0e635fdd59652aaee54af112eca92711e5aabbd1 (diff) | |
download | aur-cb61c1103fb9274670aebff982794583e9684d18.tar.gz |
upgpkg: thc-ipv6-git 3.1.17.b592009-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)" } |