Spotter-VM/app-acme-sh/APKBUILD

24 lines
918 B
Plaintext
Raw Normal View History

2018-10-25 22:05:48 +02:00
# Contributor: Disassembler <disassembler@dasm.cz>
# Maintainer: Disassembler <disassembler@dasm.cz>
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
2018-11-06 22:07:27 +01:00
mkdir -p ${pkgdir}/etc/periodic/daily
sed 's|$HOME/.$PROJECT_NAME|/etc/acme.sh.d|' ${builddir}/acme.sh > ${pkgdir}/usr/bin/
2018-10-25 22:05:48 +02:00
chmod +x ${pkgdir}/usr/bin/acme.sh
2018-11-06 22:07:27 +01:00
cp source/acme-sh ${pkgdir}/etc/periodic/daily/
2018-10-25 22:05:48 +02:00
}
sha512sums="93d38007c0c8187217ac220b09180c3a367a9b518d0bb777a58900de134f1afde54e6643c42426e18f65a18de0d77b0c685396b9c33198b927f0ce2b5da778d1 acme-sh-2.7.9.tar.gz"