blob: 42a23cc2c33f1779421a970faeab2a8a3e76df3b (
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
|
pkgname="python-tlsfuzzer-git"
pkgver=r1732.731b70b
pkgrel=1
pkgdesc='TLS test suite and fuzzer'
arch=('any')
url='https://github.com/tomato42/tlsfuzzer'
makedepends=('python-setuptools')
depends=('python')
license=('GPL2')
source=('git+https://github.com/tomato42/tlsfuzzer.git')
md5sums=('SKIP')
pkgver() {
cd tlsfuzzer
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/tlsfuzzer"
python setup.py build
}
package() {
cd "$srcdir/tlsfuzzer"
python setup.py install --root="$pkgdir/" --optimize=1
# uncomment to include documentation
#mkdir -p "$pkgdir/usr/share/doc/tlsfuzzer"
#cp "$srcdir/tlsfuzzer/docs/"*pdf "$pkgdir/usr/share/doc/tlsfuzzer/"
# example scripts
mkdir -p "$pkgdir/usr/lib/tlsfuzzer/examples"
cp "$srcdir/tlsfuzzer/scripts"/* "$pkgdir/usr/lib/tlsfuzzer/examples/"
}
|