diff --git a/impacket/PKGBUILD b/impacket/PKGBUILD index f2e161045..d1b40c247 100644 --- a/impacket/PKGBUILD +++ b/impacket/PKGBUILD @@ -1,8 +1,8 @@ -pkgname=impacket +pkgname=impacket-unstable pkgver=latest pkgrel=1 # this fork merges PRs much faster than https://github.com/fortra/impacket -url="https://github.com/theporgs/${pkgname}.git" +url=https://github.com/theporgs/impacket.git arch=(any) license=(Apache) depends=(python) @@ -19,13 +19,13 @@ package() { binname="$(basename "${binary%%.py}")" binname="${binname,,}" binname="${binname//_/-}" - cat << EOF > "${pkgdir}/opt/archpkgs/bin/${pkgname}-${binname}" + cat << EOF > "${pkgdir}/opt/archpkgs/bin/impacket-${binname}" #!/bin/sh set -eu export VIRTUAL_ENV=/opt/archpkgs/${pkgname} PYTHONPATH=/opt/archpkgs/${pkgname} PATH="/opt/archpkgs/${pkgname}/bin:\$PATH" exec python /opt/archpkgs/${pkgname}/bin/$(basename "${binary}") "\$@" EOF - chmod +x "${pkgdir}/opt/archpkgs/bin/${pkgname}-${binname}" + chmod +x "${pkgdir}/opt/archpkgs/bin/impacket-${binname}" done }