forked from ports/contrib
26 lines
841 B
Plaintext
26 lines
841 B
Plaintext
# Description: Fetch, install and search wordlist archives from websites
|
|
# URL: https://github.com/BlackArch/wordlistctl
|
|
# Maintainer: Alexandr Savca, alexandrsavca89 at gmail dot com
|
|
# Depends on: python3-requests
|
|
|
|
name=wordlistctl
|
|
version=0.9.0
|
|
release=1
|
|
source=(https://github.com/BlackArch/$name/archive/v$version/$name-$version.tar.gz
|
|
0001-remove-unnecessary-termcolor-dependency.patch
|
|
0001-fix-repo.json-path.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
patch -p1 < $SRC/0001-remove-unnecessary-termcolor-dependency.patch
|
|
patch -p1 < $SRC/0001-fix-repo.json-path.patch
|
|
|
|
install -pDm644 bash-completion/$name \
|
|
$PKG/usr/share/bash-completion/completions/$name
|
|
install -pDm644 man/$name.1 $PKG/usr/share/man/man1/$name.1
|
|
|
|
install -pDm755 wordlistctl.py $PKG/usr/bin/$name
|
|
install -pDm644 repo.json -t $PKG/usr/share/$name
|
|
}
|