New package: acme.sh-3.0.2

This commit is contained in:
Wesley Chan 2021-10-19 16:03:13 +08:00 committed by Leah Neukirchen
parent cfc4ced65b
commit 781bd35b0e

24
srcpkgs/acme.sh/template Normal file
View file

@ -0,0 +1,24 @@
# Template file for 'acme.sh'
pkgname=acme.sh
version=3.0.2
revision=1
short_desc="Pure Unix shell script implementing ACME client protocol"
maintainer="Wesley Chan <wesley.chan@posteo.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/acmesh-official/acme.sh"
distfiles="https://github.com/acmesh-official/acme.sh/archive/refs/tags/${version}.tar.gz"
checksum=d6cda672697fe02cfa2a61bf74ec1b472aa797b03baead6deec625158965cee0
do_install() {
vmkdir usr/share/acme.sh/deploy
vmkdir usr/share/acme.sh/dnsapi
vmkdir usr/share/acme.sh/notify
vmkdir usr/bin
vinstall acme.sh 755 usr/share/acme.sh/
vcopy deploy/*.sh usr/share/acme.sh/deploy/
vcopy dnsapi/*.sh usr/share/acme.sh/dnsapi/
vcopy notify/*.sh usr/share/acme.sh/notify/
ln -sf /usr/share/acme.sh/acme.sh ${DESTDIR}/usr/bin/acme.sh
}