blob: 9b0a9ad80414a6061946cef5e239d6d676d4a9ad (
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
|
# Contributor: Cyberpunk <aur_linuxero@outlook.com>
# Maintainer: Cyberpunk <aur_linuxero@outlook.com>
pkgname=golismero-fingerprinter-git
_pkgname=golismero-fingerprinter
pkgver=2.0
pkgrel=2
pkgdesc="Is a tool that aims to compile as many signatures of web servers as possible and make a large database."
arch=('any')
url="http://www.golismero.com/"
license=('GPL2')
depends=('python2')
provides=('golismero-fingerprinter')
source=("git+https://github.com/golismero/golismero-fingerprinter.git")
package() {
msg2 "Installing golismero fingerprinter..."
install -dm755 "${pkgdir}/usr/bin/"
install -dm755 "${pkgdir}/usr/share/${_pkgname}"
cd "${srcdir}/${_pkgname}"
cp -aRp --copy-contents * "${pkgdir}/usr/share/${_pkgname}"
cat > $pkgdir/usr/bin/golismero-fingerprinter << "EOF"
#!/bin/bash
cd /usr/share/golismero-fingerprinter/ && python2 golismero-fingerprinter.py "$@"
EOF
chmod 755 "$pkgdir/usr/bin/golismero-fingerprinter"
}
sha256sums=('SKIP')
|