blob: 19200df0df5c990e0802f9f020f783f8563d5e8a (
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
|
# Maintainer: goll <adrian.goll+aur[at]gmail>
# Maintainer: Michael Lass <bevan@bi-co.net>
pkgname=sslyze
pkgver=6.1.0
pkgrel=1
pkgdesc="Fast and full-featured SSL scanner."
arch=('i686' 'x86_64')
url='https://github.com/nabla-c0d3/sslyze'
license=('AGPL-3.0-only')
depends=('python')
makedepends=('python-pip')
source=("https://github.com/nabla-c0d3/sslyze/archive/${pkgver}.tar.gz"
"sslyze")
sha256sums=('69b8301191b831dea34d88c75bbe65ed3f91c1bb596dce84541c6a048a614787'
'042db33726a889a64910121f2098e10e6a5ebf4a102a54d09d9a27ed363a8e5d')
package() {
cd "$srcdir/${pkgname}-${pkgver}"
# Install files in /opt
install -dm755 "$pkgdir/opt/sslyze"
/usr/bin/pip install \
--target "$pkgdir/opt/sslyze/" \
--isolated \
--no-cache-dir \
--no-warn-conflicts \
.
# Create an indirect launcher in /usr/bin
install -Dm755 "$srcdir/sslyze" "$pkgdir/usr/bin/sslyze"
}
|