blob: a4c674dcbfe1405631a9bba390b58c298664c4d5 (
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
44
45
46
47
48
|
# Maintainer: ocelot <amitchell AT airmail DOT cc>
pkgbase=python-theharvester-git
pkgname=python-theharvester-git
pkgver=3.0.6.r424.g838892e
pkgrel=1
pkgdesc="A tool for gathering e-mail accounts, subdomain names, virtual hosts, open ports/ banners, and employee names from different public sources (search engines, pgp key servers)."
arch=('any')
url="https://github.com/laramies/theHarvester"
license=('GPL2')
depends=(
'python'
'python-yaml'
'python-requests'
'python-plotly'
'python-pytest'
'python-texttable'
'python-shodan'
'python-beautifulsoup4'
'python-yaml'
'python-decorator'
'python-censys'
)
makedepends=('git' 'python-setuptools')
provides=("${pkgname}")
conflicts=("${pkgname}")
install="theHarvester.install"
source=("$pkgname::git+https://github.com/laramies/theHarvester.git")
md5sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${pkgname}"
python setup.py build
}
package() {
cd "${srcdir}/${pkgname}"
python setup.py install --root=${pkgdir} --optimize=1 --skip-build
}
check(){
cd "$srcdir"
pytest
}
|