-
-
Notifications
You must be signed in to change notification settings - Fork 576
/
PKGBUILD
31 lines (25 loc) · 902 Bytes
/
PKGBUILD
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.
pkgname=dorknet
pkgver=58.419d6a2
pkgrel=2
pkgdesc='Selenium powered Python script to automate searching for vulnerable web apps.'
groups=('blackarch' 'blackarch-webapp' 'blackarch-automation')
arch=('any')
url='https://github.com/NullArray/DorkNet'
license=('MIT')
depends=('python2' 'python2-argparse' 'python2-blessings' 'python2-selenium'
'python2-six')
makedepends=('git')
source=("$pkgname::git+https://github.com/NullArray/DorkNet.git")
sha512sums=('SKIP')
pkgver() {
cd $pkgname
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
cd $pkgname
install -Dm 755 "$pkgname.py" "$pkgdir/usr/bin/$pkgname"
install -Dm 644 -t "$pkgdir/usr/share/doc/$pkgname/" README.md
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}