From b517c369cb837ceb5906ec0104b3c33129619fe5 Mon Sep 17 00:00:00 2001 From: dadevel Date: Tue, 7 Nov 2023 23:52:50 +0100 Subject: [PATCH] impacket: rename package to avoid collision --- impacket/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 }