aboutsummaryrefslogtreecommitdiffstats
path: root/community/acme.sh/APKBUILD
blob: 572f240edb40ad08a49d062ffd7972f2089cb2fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=acme.sh
pkgver=2.8.7
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-only"
depends="curl cmd:openssl"
source="$pkgname-$pkgver.tar.gz::https://github.com/Neilpang/acme.sh/archive/$pkgver.tar.gz"

package() {
	install -dm755 "$pkgdir"/usr/share/acme.sh/deploy
	install -dm755 "$pkgdir"/usr/share/acme.sh/dnsapi
	install -dm755 "$pkgdir"/usr/share/acme.sh/notify
	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/
	install -m755 notify/*.sh "$pkgdir"/usr/share/acme.sh/notify/

	ln -s /usr/share/acme.sh/acme.sh "$pkgdir"/usr/bin/acme.sh
}

sha512sums="45599f50a4a45b6fdea58d7a5759e4eb5f8e33acc53d60b264c15662e6bdc1e353af610845056fc67b127242c4ad15eaaf60a2113f2cb0245d4e4861dac6e1c3  acme.sh-2.8.7.tar.gz"