void-packages/srcpkgs/testssl.sh/template
2020-04-12 17:36:28 +02:00

25 lines
727 B
Bash

# Template file for 'testssl.sh'
pkgname=testssl.sh
version=3.0
revision=1
archs=noarch
depends="libressl"
short_desc="Command line tool which checks a server for the support of TLS/SSL"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://testssl.sh"
distfiles="https://github.com/drwetter/testssl.sh/archive/${version}.tar.gz"
checksum=ab3c9a000f0f6703e4fc94821e06f531de6d2799322bf534188ebf766365a9c1
pre_install() {
# Set TESTSSL_INSTALL_DIR so that we can install to a custom dir
vsed 's|LL_DIR:-""|LL_DIR:-/usr/share/testssl.sh/|' -i testssl.sh
}
do_install() {
vbin testssl.sh
vmkdir /usr/share/testssl.sh
vcopy etc/ /usr/share/testssl.sh/
vdoc Readme.md
vman doc/testssl.1
}