diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 7 insertions, 8 deletions
@@ -1,7 +1,7 @@ | |||
1 | pkgbase = wapiti | 1 | pkgbase = wapiti |
2 | pkgdesc = Comprehensive web app vulnerability scanner written in Python | 2 | pkgdesc = Comprehensive web app vulnerability scanner written in Python |
3 | pkgver = 3.0.8 | 3 | pkgver = 3.0.8 |
4 | pkgrel = 2 | 4 | pkgrel = 3 |
5 | url = https://wapiti.sourceforge.net | 5 | url = https://wapiti.sourceforge.net |
6 | changelog = ChangeLog | 6 | changelog = ChangeLog |
7 | arch = any | 7 | arch = any |
@@ -5,7 +5,8 @@ | |||
5 | pkgname=wapiti | 5 | pkgname=wapiti |
6 | 6 | ||
7 | pkgver=3.0.8 | 7 | pkgver=3.0.8 |
8 | pkgrel=2 | 8 | _name="$pkgname${pkgver:0:1}" |
9 | pkgrel=3 | ||
9 | 10 | ||
10 | pkgdesc='Comprehensive web app vulnerability scanner written in Python' | 11 | pkgdesc='Comprehensive web app vulnerability scanner written in Python' |
11 | arch=('any') | 12 | arch=('any') |
@@ -22,21 +23,19 @@ optdepends=('python-requests-kerberos: Kerberos authentication' | |||
22 | options=('zipman') | 23 | options=('zipman') |
23 | 24 | ||
24 | changelog=ChangeLog | 25 | changelog=ChangeLog |
25 | source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname/$pkgname-$pkgver/$pkgname${pkgver:0:1}-$pkgver.tar.gz") | 26 | source=("https://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname/$pkgname-$pkgver/$_name-$pkgver.tar.gz") |
26 | sha256sums=('110d825ec7c2ba6a063398d63c1939d893f219fee6b5444c643f4b1cd9c71441') | 27 | sha256sums=('110d825ec7c2ba6a063398d63c1939d893f219fee6b5444c643f4b1cd9c71441') |
27 | 28 | ||
28 | 29 | ||
29 | prepare() { | 30 | prepare() { rm -rf "$_name-$pkgver/tests"; } |
30 | rm -rf "$pkgname${pkgver:0:1}-$pkgver/tests" | ||
31 | } | ||
32 | 31 | ||
33 | build() { | 32 | build() { |
34 | cd "$pkgname${pkgver:0:1}-$pkgver" | 33 | cd "$_name-$pkgver" |
35 | python setup.py build | 34 | python setup.py build |
36 | } | 35 | } |
37 | 36 | ||
38 | package() { | 37 | package() { |
39 | cd "$pkgname${pkgver:0:1}-$pkgver" | 38 | cd "$_name-$pkgver" |
40 | PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build | 39 | PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build |
41 | } | 40 | } |
42 | 41 | ||