Spotter-VM/acme-sh/APKBUILD

29 lines
980 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
2019-06-01 19:55:06 +02:00
pkgver=2.8.1
2018-10-25 22:05:48 +02:00
pkgrel=0
pkgdesc="A pure Unix shell ACME protocol client"
2018-10-25 22:05:48 +02:00
url="https://github.com/Neilpang/acme.sh"
arch="noarch"
license="GPL"
2019-06-01 19:55:06 +02:00
_commit=09bce5e6d6be6b97b3c843b815087874e3e44a21
2018-10-25 22:05:48 +02:00
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
}
2018-10-25 22:05:48 +02:00
package() {
mkdir -p ${pkgdir}/usr/bin
2018-11-07 21:53:22 +01:00
mkdir -p ${pkgdir}/etc/acme.sh.d
2018-11-06 22:07:27 +01:00
mkdir -p ${pkgdir}/etc/periodic/daily
2018-11-07 10:06:20 +01:00
sed 's|$HOME/.$PROJECT_NAME|/etc/acme.sh.d|' ${builddir}/acme.sh > ${pkgdir}/usr/bin/acme.sh
2018-10-25 22:05:48 +02:00
chmod +x ${pkgdir}/usr/bin/acme.sh
cp ${startdir}/source/acme-sh ${pkgdir}/etc/periodic/daily/
2018-10-25 22:05:48 +02:00
}
2019-06-01 19:55:06 +02:00
sha512sums="b2d3d1c3f0ba1d57f40373aa430f53b8398e3798cadb4ab6bc376c9c70edda08cda4380bc8fe9fd272b9e02bd9f763de0a399aeeb5ea8d1a2e8ff5b1d8cef86a acme-sh-2.8.1.tar.gz"