# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=0trace pkgver=1.5 pkgrel=7 groups=('blackarch' 'blackarch-scanner') pkgdesc='A hop enumeration tool.' url='http://jon.oberheide.org/0trace/' arch=('any') license=('GPL3') depends=('python2-dpkt' 'python2-pypcap' 'python2-pydnet' 'libdnet' 'python2-setuptools') #DLAGENTS=('https::/usr/bin/curl -kfLC - --retry 3 --retry-delay 3 -o %o %u') #source=("https://jon.oberheide.org/files/$pkgname.py") source=("https://raw.githubusercontent.com/BlackArch/0trace/master/$pkgname.py") sha512sums=('790d8d96c98fffe0e79890688d137ad8e97ed6e9661cc3b764ec62ea74f4897c28a7f2e71d17720bb7957c4ee39decb3b6bceeb29d339e7fe765c3f12a7aa677') prepare() { sed -i 's/python/python2/g' "$pkgname.py" } package() { install -Dm 755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname" }