# Contributor: Disassembler # Maintainer: Disassembler pkgname=acme-sh pkgver=2.7.9 pkgrel=0 pkgdesc="A pure Unix shell script implementing ACME client protocol" url="https://github.com/Neilpang/acme.sh" arch="noarch" license="GPL" _commit=4f59a821d33281ff5a3090cbe8de47c5f0ae10ce source="${pkgname}-${pkgver}.tar.gz::https://github.com/Neilpang/acme.sh/archive/${_commit}.tar.gz" builddir="${srcdir}/acme.sh-${_commit}" options="!check" package() { mkdir -p ${pkgdir}/usr/bin mkdir -p ${pkgdir}/etc/acme.sh.d mkdir -p ${pkgdir}/etc/periodic/daily sed 's|$HOME/.$PROJECT_NAME|/etc/acme.sh.d|' ${builddir}/acme.sh > ${pkgdir}/usr/bin/acme.sh chmod +x ${pkgdir}/usr/bin/acme.sh cp source/acme-sh ${pkgdir}/etc/periodic/daily/ } sha512sums="93d38007c0c8187217ac220b09180c3a367a9b518d0bb777a58900de134f1afde54e6643c42426e18f65a18de0d77b0c685396b9c33198b927f0ce2b5da778d1 acme-sh-2.7.9.tar.gz"