vp-build/srcpkgs/acmetool/template

24 lines
841 B
Bash

# Template file for 'acmetool'
pkgname=acmetool
version=0.0.61
revision=2
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@gmail.com>"
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="af6742fc4f5cf69c25994f3654c53718640271fa4cd2738e831617cb2a42e32e
fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc"
skip_extraction=COPYING
post_install() {
vlicense $XBPS_SRCDISTDIR/$pkgname-$version/COPYING
}