void-packages/srcpkgs/cfssl/template
2021-10-18 17:34:29 +02:00

21 lines
675 B
Bash

# Template file for 'cfssl'
pkgname=cfssl
version=1.5.0
revision=2
build_style=go
go_import_path=github.com/cloudflare/cfssl
go_package="${go_import_path}/cmd/..."
go_ldflags="-X github.com/cloudflare/cfssl/cli/version.version=${version}"
short_desc="CFSSL: Cloudflare's PKI and TLS toolkit"
maintainer="hanspolo <itself@hanspolo.net>"
license="BSD-2-Clause"
homepage="https://github.com/cloudflare/cfssl"
distfiles="https://github.com/cloudflare/cfssl/archive/v${version}.tar.gz"
checksum=5267164b18aa99a844e05adceaf4f62d1b96dcd326a9132098d65c515c180a91
replaces="cfssljson>=0"
post_install() {
vlicense LICENSE
vdoc README.md
vcopy 'doc/*' "usr/share/doc/${pkgname}"
}