# Maintainer: GI_Jack pkgname=enum4linux pkgver=0.9.1 pkgrel=1 pkgdesc="A tool for enumerating information from Windows and Samba systems." arch=('any') url="https://github.com/CiscoCXSecurity/enum4linux" license=('GPL') depends=('perl' 'smbclient' 'polenum' 'openldap') source=("https://github.com/CiscoCXSecurity/enum4linux/archive/refs/tags/v${pkgver}.tar.gz") sha512sums=('acb454130e171eb5b9b5f9ff4bff823a4caefb8d052b092b0f84b2020314c1f1a4385342b6be091b2f84f2f0ea67b9fdfed23952bdb66014ad1acf6438b51d9d') prepare() { cd "$pkgname-$pkgver" sed -i 's|polenum.py|polenum|' ${pkgname}.pl } package() { cd "$srcdir/enum4linux-$pkgver" install -Dm755 enum4linux.pl "$pkgdir/usr/bin/enum4linux" install -Dm644 share-list.txt "$pkgdir/usr/share/enum4linux/share-list.txt" }