void-packages/srcpkgs/acmetool/template

24 lines
841 B
Bash

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