Skip to content

Commit

Permalink
Update PKGBUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
D3vil0p3r authored Feb 13, 2025
1 parent c029acb commit ced28dd
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions packages/cloud_enum/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@ arch=('any')
groups=('blackarch' 'blackarch-recon')
url='https://github.com/initstring/cloud_enum'
license=('MIT')
depends=('python')
makedepends=('git' 'python-setuptools' 'python-pip')
depends=('python' 'python-dnspython' 'python-requests' 'python-requests-futures')
makedepends=('git')
source=("git+https://github.com/initstring/$pkgname.git")
sha512sums=('SKIP')
install="$pkgname.install"

pkgver() {
cd $pkgname
Expand All @@ -30,18 +29,17 @@ package() {
cd $pkgname

install -dm 755 "$pkgdir/usr/bin"
install -Dm 644 requirements.txt "$pkgdir/usr/share/$pkgname/requirements.txt"
install -dm 755 "$pkgdir/usr/share/$pkgname"
install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" *.md

install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"

rm -rf LICENSE *.md .gitignore
rm -rf LICENSE *.md .gitignore .github tests requirements.txt

cp -a * "$pkgdir/usr/share/$pkgname/"

cat > "$pkgdir/usr/bin/$pkgname" << EOF
#!/bin/sh
source /usr/share/$pkgname/venv/bin/activate
exec python /usr/share/$pkgname/cloud_enum.py "\$@"
EOF

Expand Down

0 comments on commit ced28dd

Please sign in to comment.