aboutsummaryrefslogtreecommitdiffstats
path: root/community/acme.sh
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2019-05-29 14:03:33 +0200
committerMilan P. Stanić <mps@arvanta.net>2019-05-29 14:03:33 +0200
commit71813b4a80603519996e0f1862af08dde1cd4f12 (patch)
treeb5179d86a84258f509ca8a4fe0479b951d6f9c64 /community/acme.sh
parent34bbc5abd00f2d9efddd48283bfd2e58da1005ac (diff)
downloadaports-71813b4a80603519996e0f1862af08dde1cd4f12.tar.bz2
aports-71813b4a80603519996e0f1862af08dde1cd4f12.tar.xz
community/acme.sh: move from testing
Diffstat (limited to 'community/acme.sh')
-rw-r--r--community/acme.sh/APKBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/community/acme.sh/APKBUILD b/community/acme.sh/APKBUILD
new file mode 100644
index 0000000000..05c9b91aa2
--- /dev/null
+++ b/community/acme.sh/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
+pkgname=acme.sh
+pkgver=2.8.1
+pkgrel=0
+pkgdesc="An ACME Shell script, an acme client alternative to certbot"
+options="!check" # No testsuite
+url="https://github.com/Neilpang/acme.sh"
+arch="noarch"
+license="GPL-3.0"
+depends="curl cmd:openssl"
+source="$pkgname-$pkgver.tar.gz::https://github.com/Neilpang/acme.sh/archive/$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+package() {
+ install -dm755 "$pkgdir"/usr/share/acme.sh/deploy
+ install -dm755 "$pkgdir"/usr/share/acme.sh/dnsapi
+ install -dm755 "$pkgdir"/usr/bin
+
+ install -m755 acme.sh "$pkgdir"/usr/share/acme.sh/
+ install -m755 deploy/*.sh "$pkgdir"/usr/share/acme.sh/deploy/
+ install -m755 dnsapi/*.sh "$pkgdir"/usr/share/acme.sh/dnsapi/
+
+ ln -s /usr/share/acme.sh/acme.sh "$pkgdir"/usr/bin/acme.sh
+}
+
+sha512sums="2b88d604559fea66edf4cca4be5aba0666c2ecc7275bdddf28c6fa54f4c779b3cd929aa2f9f91a21a5f3ce4bfdd15342ee10bbaae6915230711f39c8493c7d34 acme.sh-2.8.1.tar.gz"