# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=netcommander pkgver=1.3 pkgrel=8 groups=('blackarch' 'blackarch-spoof' 'blackarch-networking') pkgdesc='An easy-to-use arp spoofing tool.' arch=('any') url='https://github.com/evilsocket/netcommander' license=('GPL3') depends=('python2' 'python2-scapy') makedepends=('git') #source=("$pkgname::git+https://github.com/evilsocket/NetCommander.git") source=('netcmd' 'mac-prefixes') sha512sums=('0f8f2911d83c0845c254578c4ca649f03e67c0fa12bcd5833c879b72428d6c8d44ca360899a2f0c346790d9dbdf0ceb924ae24f32f2f66be9c6e3dcf3d6bfa9d' '26c5d6fbce7d5d5e1c1e18c1c0b3dc8236af3f603d95101eab6ba6d639f652bf50009768a6f2448ec2577ee3bb94a891b387935a868556574d3e16ebc89563b5') prepare() { sed -i 's|mac-prefixes|/usr/share/netcommander/mac-prefixes|' netcmd sed -i 's/python$/python2/' netcmd } package() { install -Dm 755 netcmd "$pkgdir/usr/bin/$pkgname" install -Dm 644 mac-prefixes "$pkgdir/usr/share/$pkgname/mac-prefixes" }