blob: 8aaaa8ac8cb8a92e5dd979e29cdc7f1557e45a7d (
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
33
34
35
36
|
# Maintainer: Daniel M. Capella <polyzen@archlinux.org>
pkgname=twa
pkgver=1.11.0
pkgrel=1
pkgdesc='Tiny web auditor with strong opinions'
arch=(any)
url=https://github.com/trailofbits/twa
license=(MIT)
depends=(
bash
bind-tools
curl
jq
netcat
)
makedepends=(git)
checkdepends=(
shellcheck
testssl.sh
)
optdepends=('testssl.sh: for testssl-based checks')
source=("git+$url.git#tag=v$pkgver")
b2sums=('e4c36068f0bf957abbeb2f11b6c0addb401415275cbb5795ad461f8f71bf64a7ec9453979c27e9162dad9e402b30009db4a22cff5c1041ba46ea902dd38cbeba')
check() {
cd twa
./util/test
}
package() {
cd twa
install -Dt "$pkgdir"/usr/bin tscore twa
install -Dm644 -t "$pkgdir"/usr/share/man/man1 twa.1
install -Dm644 -t "$pkgdir"/usr/share/licenses/twa LICENSE
}
|