blob: 74b142298ad1e9765be2d2d387870568e1fb56b3 (
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
|
# Maintainer: peeweep <peeweep at 0x0 dot ee>
pkgname=sherlock-git
pkgver=20191231.5123bf1
pkgrel=1
pkgdesc="Find usernames across social networks"
arch=('any')
url="https://github.com/sherlock-project/sherlock"
license=('MIT')
depends=(
'python-beautifulsoup4'
'python-certifi'
'python-colorama'
'python-lxml'
'python-pysocks'
'python-requests'
'python-requests-futures'
'python-soupsieve'
'python-stem'
'python-torrequest'
)
makedepends=('git')
source=(
"${pkgname}::git+${url}.git"
"sherlock.sh"
)
sha256sums=('SKIP'
'45bb5034d63681f3e0f0d12f868465024a473b12b2751b00e968fcb7a935497c')
pkgver() {
cd "${srcdir}/${pkgname}"
git log -1 --format='%cd.%h' --date=short | tr -d -
}
package() {
install -Dm755 "${srcdir}/sherlock.sh" "${pkgdir}/usr/bin/sherlock"
install -Dm644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/sherlock/LICENSE"
cp -r "${srcdir}/${pkgname}" "${pkgdir}/usr/share/sherlock"
}
# vim:set ts=2 sw=2 et:
|