25 lines
797 B
Bash
25 lines
797 B
Bash
# Template file for 'acme.sh'
|
|
pkgname=acme.sh
|
|
version=3.0.6
|
|
revision=1
|
|
short_desc="Pure Unix shell script implementing ACME client protocol"
|
|
maintainer="Emil Miler <em@0x45.cz>"
|
|
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=4a8e44c27e2a8f01a978e8d15add8e9908b83f9b1555670e49a9b769421f5fa6
|
|
|
|
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
|
|
}
|