diff options
author | peeweep | 2019-10-05 08:58:49 +0800 |
---|---|---|
committer | peeweep | 2019-10-05 08:58:49 +0800 |
commit | e04b57fd78fccb6d13e1859ce204f5562242d87c (patch) | |
tree | 53808dc3740a0ffa6e0d933c527239263478cc41 | |
download | aur-e04b57fd78fccb6d13e1859ce204f5562242d87c.tar.gz |
Init
-rw-r--r-- | .SRCINFO | 24 | ||||
-rw-r--r-- | .gitignore | 6 | ||||
-rw-r--r-- | PKGBUILD | 41 | ||||
-rwxr-xr-x | sherlock.sh | 2 |
4 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..284750c1717b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,24 @@ +pkgbase = sherlock-git + pkgdesc = Find usernames across social networks + pkgver = 20191002.d8290d5 + pkgrel = 1 + url = https://github.com/sherlock-project/sherlock + arch = any + license = MIT + makedepends = git + depends = python-beautifulsoup4 + depends = python-certifi + depends = python-colorama + depends = python-lxml + depends = python-pysocks + depends = python-requests + depends = python-requests-futures + depends = python-soupsieve + depends = python-stem + source = sherlock::git+https://github.com/sherlock-project/sherlock.git + source = sherlock.sh + sha256sums = SKIP + sha256sums = a50fa6f5b78be38e0cb63fd6069df971d27a3ee31bf699af254d6cc869cb2151 + +pkgname = sherlock-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..dc0f1a39e7e2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +sherlock-git/ +*.log +pkg/ +src/ +*.pkg.tar.xz +*.tar.gz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..0030924d4ce8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: peeweep <peeweep at 0x0 dot ee> + +pkgname=sherlock-git +_pkgname=sherlock +pkgver=20191002.d8290d5 +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' +) +makedepends=('git') +source=( + "${_pkgname}::git+${url}.git" + "sherlock.sh" +) +sha256sums=('SKIP' + 'a50fa6f5b78be38e0cb63fd6069df971d27a3ee31bf699af254d6cc869cb2151') + +pkgver() { + cd "${srcdir}/${_pkgname}" + git log -1 --format='%cd.%h' --date=short | tr -d - +} + +package() { + install -Dm755 "${srcdir}/sherlock.sh" "${pkgdir}/usr/bin/sherlock.sh" + cp -r "${srcdir}/${_pkgname}" "${pkgdir}/usr/share/${_pkgname}" + install -Dm644 "${srcdir}/${_pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/sherlock.sh b/sherlock.sh new file mode 100755 index 000000000000..5d04388aa65e --- /dev/null +++ b/sherlock.sh @@ -0,0 +1,2 @@ +#!/usr/bin/bash +python ../sherlock/sherlock.py "$@" |