summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 81dc9536b9ec9cd0dc03d671297b7277519a1d99 (plain)
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
31
32
33
# Creator: Ahmed Aboul-Ela
# Maintainer: Jack R <rubacha.jack03@gmail.com>
pkgname=sublist3r-git
pkgver=r138.729d649
pkgrel=4
pkgdesc="A python tool designed to enumerate subdomains of websites using OSINT."
arch=('any')
url="https://github.com/aboul3la/Sublist3r"
license=('GPL2')
depends=('python-requests' 'python-argparse' 'python-dnspython')
makedepends=('git')
conflicts=('sublist3r')
provides=('sublist3r')
source=('git+https://github.com/aboul3la/Sublist3r')
md5sums=('SKIP')

pkgver() {
  cd "Sublist3r"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    mv ./Sublist3r ./sublist3r-git
    cd "$pkgname"
    python setup.py build
}

package() {
    cd "$pkgname"
    python setup.py install --root="$pkgdir" --optimize=1 --skip-build
    install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" 'LICENSE'
}