blob: 99ef227a05f2c2f236fd92fb7b29d259e08b0497 (
plain)
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
29
30
31
32
33
34
35
36
37
|
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=acme.sh
pkgver=2.7.9
pkgrel=1
pkgdesc="An ACME Shell script, an acme client alternative to certbot"
url="https://github.com/Neilpang/acme.sh"
arch="noarch"
license="GPL-3.0"
depends="curl"
source="$pkgname-$pkgver.tar.gz::https://github.com/Neilpang/acme.sh/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
return 0
}
check() {
cd "$builddir"
return 0
}
package() {
cd "$builddir"
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="24374783ca52835b400b84316ffab5e9066805362f02082f8ef409e21ca590d837b3dd11401633947f9fcc98dc977b0e8b6076d5deecd02b38478f257500a052 acme.sh-2.7.9.tar.gz"
|