void-packages/srcpkgs/acmetool/template

24 lines
844 B
Bash

# Template file for 'acmetool'
pkgname=acmetool
version=0.0.62
revision=1
wrksrc="acme-${version}"
build_style=go
go_import_path=github.com/hlandau/acme
go_package="github.com/hlandau/acme/cmd/acmetool"
hostmakedepends="git"
makedepends="libcap-devel"
short_desc="Tool to acquire certificates from ACME servers (such as Let's Encrypt)"
maintainer="Toyam Cox <Vaelatern@voidlinux.eu>"
license="RILTS-based"
homepage="https://hlandau.github.io/acme/"
distfiles="https://github.com/hlandau/acme/archive/v${version}.tar.gz
https://raw.githubusercontent.com/hlandau/rilts/master/licences/COPYING.MIT>COPYING"
checksum="ceaab0bc974846a26bce79e918ab79080013f6eed05dc981347c48eefde6d4f5
fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc"
skip_extraction=COPYING
post_install() {
vlicense $XBPS_SRCDISTDIR/$pkgname-$version/COPYING
}