# This file is part of BlackArch Linux ( https://www.blackarch.org/ ). # See COPYING for license details. pkgname=enum4linux-ng pkgver=444.0874859 pkgrel=2 pkgdesc='A next generation version of enum4linux.' arch=('any') groups=('blackarch' 'blackarch-recon' 'blackarch-scanner') url='https://github.com/cddmp/enum4linux-ng' license=('GPL3') depends=('python' 'smbclient' 'python-ldap3' 'python-yaml' 'impacket') makedepends=('python-setuptools' 'git') source=("git+https://github.com/cddmp/$pkgname.git") sha512sums=('SKIP') pkgver() { cd $pkgname echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } build() { cd $pkgname python setup.py build } package() { cd $pkgname python setup.py install --root="$pkgdir" --prefix=/usr -O1 --skip-build }