void-packages/srcpkgs/acmetool/template

24 lines
841 B
Bash

# Template file for 'acmetool'
pkgname=acmetool
version=0.0.59
revision=3
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="c84bf2d7ab20fdc16b9047ebb3bca48c8e1282f92605fa2eba08f7963ef6c3b4
fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc"
skip_extraction=COPYING
post_install() {
vlicense $XBPS_SRCDISTDIR/$pkgname-$version/COPYING
}