aboutsummaryrefslogblamecommitdiffstats
path: root/community/acme.sh/APKBUILD
blob: 21b7564d2a64543ff5a416bdab4ddd475226b821 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                           
            
        
                                                                     
                               

                                         
                      
                          
                                                                                            
 
           

                                                         
                                                         




                                                                     
                                                                     



                                                                  
                                                                                                                                                                   
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=acme.sh
pkgver=2.8.8
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="cf601965cd5542dbd11668330d0a4e428e89ccc3af92d4d04ea3936c8a31979a5c00aa8e18a31fde07812242dddcebbfdbc06f1c29260b917dfa19f88d12fd72  acme.sh-2.8.8.tar.gz"