Skip to content

Commit

Permalink
dnsgen: fix install...
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Jan 6, 2025
1 parent 20fff99 commit 61c32aa
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/dnsgen/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@

pkgname=dnsgen
pkgver=v1.0.4.r12.g7c98e7e
pkgrel=1
_pyver=3.13
pkgrel=2
pkgdesc='Generate combination of domain names from the provided input.'
arch=('any')
groups=('blackarch' 'blackarch-misc')
url='https://github.com/AlephNullSK/dnsgen'
license=('MIT')
depends=('python' 'python-tldextract')
depends=('python' 'python-click' 'python-rich' 'python-tldextract')
makedepends=('git' 'python-build' 'python-pip')
source=("git+https://github.com/AlephNullSK/$pkgname.git")
sha512sums=('SKIP')
Expand Down Expand Up @@ -52,5 +53,10 @@ package() {
--no-index \
--find-links="file://$startdir/dist" \
$pkgname

# ... really ...
mkdir -p "$pkgdir/usr/lib/python$_pyver/site-packages/$pkgname"
cd "$pkgdir/usr/lib/python$_pyver/site-packages"
mv cli.py "$pkgname.py" __init__.py words.txt "$pkgname/"
}

0 comments on commit 61c32aa

Please sign in to comment.