# Contributor: Disassembler # Maintainer: Disassembler pkgname=acme-sh pkgver=2.8.0 pkgrel=0 pkgdesc="A pure Unix shell ACME protocol client" url="https://github.com/Neilpang/acme.sh" arch="noarch" license="GPL" _commit=f62a4a0c0ccf6cd73b5746dd8b8790ce3c512833 source="${pkgname}-${pkgver}.tar.gz::https://github.com/Neilpang/acme.sh/archive/${_commit}.tar.gz" builddir="${srcdir}/acme.sh-${_commit}" options="!check" build() { return 0 } 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 ${startdir}/source/acme-sh ${pkgdir}/etc/periodic/daily/ } sha512sums="399385c03954fb8c6c9be740ad46ed307ab1b902f88f4e7134fd837e4d189b387811469158fc05f1f8894f4622e5bbbec15ab4ef8eb433dd6dbfda585e7b25b7 acme-sh-2.8.0.tar.gz"