void-packages/srcpkgs/acmetool/template

24 lines
839 B
Bash

# Template file for 'acmetool'
pkgname=acmetool
version=0.2.2
revision=3
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.org>"
license="MIT"
homepage="https://hlandau.github.io/acmetool/"
distfiles="https://github.com/hlandau/acme/archive/v${version}.tar.gz
https://raw.githubusercontent.com/hlandau/rilts/master/licences/COPYING.MIT>COPYING"
checksum="5671a4ff00c007dd00883c601c0a64ab9c4dc1ca4fa47e5801b69b015d43dfb3
fd80a26fbb3f644af1fa994134446702932968519797227e07a1368dea80f0bc"
skip_extraction=COPYING
broken="missing go.mod"
post_install() {
vlicense $XBPS_SRCDISTDIR/$pkgname-$version/COPYING
}