community/dnsrecon: clarify license, modernize

This commit is contained in:
prspkt 2019-06-10 00:55:02 +03:00 committed by Francesco Colista
parent 6fc16ca818
commit 51bdccba2a

View File

@ -6,11 +6,10 @@ pkgrel=1
pkgdesc="DNS Enumeration Script"
url="https://github.com/darkoperator/dnsrecon"
arch="noarch"
license="GPL-2.0"
license="GPL-2.0-only"
depends="py3-dnspython py3-lxml py3-netaddr"
options="!check"
source="$pkgname-$pkgver.tar.gz::https://github.com/darkoperator/$pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
source="$pkgname-$pkgver.tar.gz::https://github.com/darkoperator/dnsrecon/archive/$pkgver.tar.gz"
prepare() {
default_prepare
@ -20,13 +19,7 @@ prepare() {
sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/python3/' {} \;
}
build() {
cd "$builddir"
return 0
}
package() {
cd "$builddir"
for dir in lib tools msf_plugin; do
mkdir -p "$pkgdir"/usr/share/dnsrecon/$dir
cp $dir/* "$pkgdir"/usr/share/dnsrecon/$dir