summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
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() {