blob: 104d42b886ca66556b92629c7556c7a4ac5a77b9 (
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
|
# Contributor: lightning1141 <lightning1141@gmail.com>
pkgname=pocsuite-git
pkgdesc="Pocsuite is A remote vulnerability test framework developed by Knownsec Security Team. http://sebug.net"
pkgver=1.9.11.1.gb26a773
pkgrel=1
arch=('any')
url="https://github.com/knownsec/pocsuite3"
license=('GPL2')
depends=('python')
provides=('pocsuite')
conflicts=('pocsuite')
makedepends=('git')
options=('!strip')
source=("git+https://github.com/knownsec/pocsuite3.git")
md5sums=(SKIP)
_repo_name=pocsuite3
build() {
cd "$srcdir/$_repo_name"
python setup.py build
}
package() {
cd "$srcdir/$_repo_name"
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
}
pkgver() {
cd "$srcdir/$_repo_name"
git describe --tag --long --always | tr '-' '.' | sed 's/^v//'
}
|