File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed
packages/email2phonenumber Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 3
3
4
4
pkgname=email2phonenumber
5
5
pkgver=29.9df9dbe
6
- pkgrel=3
6
+ pkgrel=4
7
7
pkgdesc=" A OSINT tool to obtain a target's phone number just by having his email address."
8
8
groups=(' blackarch' ' blackarch-social' ' blackarch-recon' )
9
9
arch=(' any' )
10
- url=' https://github.com/martinvigo/email2phonenumber/ '
10
+ url=' https://github.com/martinvigo/email2phonenumber'
11
11
license=(' MIT' )
12
- depends=(' python2' ' python2-beautifulsoup4' ' python2-requests' )
12
+ depends=(' python' ' python-beautifulsoup4' ' python-bs4' ' python-certifi'
13
+ ' python-chardet' ' python-idna' ' python-requests' ' python-soupsieve'
14
+ ' python-urllib3' )
13
15
makedepends=(' git' )
14
16
source=(" git+https://github.com/martinvigo/$pkgname .git" )
15
17
sha512sums=(' SKIP' )
16
18
17
19
pkgver () {
18
20
cd $pkgname
19
21
20
- echo $( git rev-list --count HEAD) .$( git rev-parse --short HEAD)
21
- }
22
-
23
- prepare () {
24
- cd $pkgname
25
-
26
- sed -i ' 1i\#!/usr/bin/python2' " $pkgname .py"
22
+ ( set -o pipefail
23
+ git describe --long --tags --abbrev=7 2> /dev/null |
24
+ sed ' s/\([^-]*-g\)/r\1/;s/-/./g' ||
25
+ printf " %s.%s" " $( git rev-list --count HEAD) " \
26
+ " $( git rev-parse --short=7 HEAD) "
27
+ )
27
28
}
28
29
29
30
package () {
@@ -33,4 +34,3 @@ package() {
33
34
install -Dm 644 -t " $pkgdir /usr/share/doc/$pkgname /" README.md
34
35
install -Dm 644 LICENSE " $pkgdir /usr/share/licenses/$pkgname /LICENSE"
35
36
}
36
-
You can’t perform that action at this time.
0 commit comments