# Contributor: Francesco Colista # Maintainer: Francesco Colista 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"