void-packages/srcpkgs/cfssl/template

21 lines
600 B
Bash

# Template file for 'cfssl'
pkgname=cfssl
version=1.4.1
revision=1
build_style=go
go_import_path=github.com/cloudflare/cfssl
go_package="${go_import_path}/cmd/..."
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=c8a86ef10cbb0c168f3b597db15b31f98b170edb7958f7154edeb29aee41315e
replaces="cfssljson>=0"
post_install() {
vlicense LICENSE
vdoc README.md
vcopy 'doc/*' "usr/share/doc/${pkgname}"
}