summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authoranthraxx2019-01-07 21:50:57 +0100
committeranthraxx2019-01-07 21:50:57 +0100
commit6c7c3551c968df1d607601a6f132280c7a13f52a (patch)
treec7761341e3681b169152a53192e74086ee9fec9b /PKGBUILD
parentcb61c1103fb9274670aebff982794583e9684d18 (diff)
downloadaur-thc-ipv6-git.tar.gz
upgpkg: thc-ipv6-git v3.6.r1.gdcd270b-1
upstream release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 21e7c879fd0..a396817f9e5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,11 +5,11 @@
pkgname=thc-ipv6-git
_pkgname=${pkgname/-git}
-pkgver=3.1.17.b592009
+pkgver=v3.6.r1.gdcd270b
pkgrel=1
pkgdesc='Complete tool set to attack the inherent protocol weaknesses of IPv6 and ICMP6'
-url='https://thc.org/thc-ipv6/'
-arch=('i686' 'x86_64')
+url='https://github.com/vanhauser-thc/thc-ipv6'
+arch=('x86_64')
license=('AGPL3')
depends=('libpcap' 'openssl' 'libnetfilter_queue')
makedepends=('git')
@@ -20,8 +20,7 @@ sha512sums=('SKIP')
pkgver() {
cd ${pkgname}
- 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)"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | sed -E 's|\.r0\.\w+$||'
}
prepare() {