From e7951b65cea0c141833145fb170ddde179f5a8d8 Mon Sep 17 00:00:00 2001 From: Wesley Chan Date: Tue, 19 Oct 2021 16:03:13 +0800 Subject: [PATCH] New package: acme.sh-3.0.1 --- srcpkgs/acme.sh/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/acme.sh/template diff --git a/srcpkgs/acme.sh/template b/srcpkgs/acme.sh/template new file mode 100644 index 000000000000..3638ec1a5bab --- /dev/null +++ b/srcpkgs/acme.sh/template @@ -0,0 +1,25 @@ +# Template file for 'acme.sh' +pkgname=acme.sh +version=3.0.1 +revision=1 +wrksrc="acme.sh-${version}" +short_desc="Pure Unix shell script implementing ACME client protocol" +maintainer="Wesley Chan " +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=6212cc0c2bca99a7dd6cbb4236b4c7dd5d1113dab0841e66dae4d307d902a8e6 + +do_install() { + vmkdir usr/share/acme.sh/deploy 755 + vmkdir usr/share/acme.sh/dnsapi 755 + vmkdir usr/share/acme.sh/notify 755 + vmkdir usr/bin 755 + + 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 +}