summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ba9574e803e0ce3dde4f645f2bedb86561e8f5b4 (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
34
35
36
37
38
39
40
41
42
43
# Maintainer: Gildásio Júnior <gildasiojunior @at@ riseup .dot. net>

# shellcheck -s bash -e SC2164 PKGBUILD

pkgname=subcat-git
_pkgname=${pkgname%-git}
pkgver=r28.1b3d015
pkgrel=1
pkgdesc="Lightning-fast passive subdomain discovery tool for security professionals and bug bounty hunters"
arch=(any)
url="https://github.com/duty1g/subcat"
license=(MIT)
conflicts=()
provides=(subcat)
depends=(
  python
  python-requests
  python-yaml
  python-urllib3
)
makedepends=(
    git
    python-setuptools
)
source=("git+https://github.com/duty1g/subcat")
sha256sums=('SKIP')

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

build() {
  cd "$_pkgname"
  python setup.py build
}

package() {
  cd "$_pkgname"
  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}

# vim:set ts=2 sw=2 et: