29 lines
980 B
Plaintext
29 lines
980 B
Plaintext
# Contributor: Disassembler <disassembler@dasm.cz>
|
|
# Maintainer: Disassembler <disassembler@dasm.cz>
|
|
pkgname=acme-sh
|
|
pkgver=2.8.1
|
|
pkgrel=0
|
|
pkgdesc="A pure Unix shell ACME protocol client"
|
|
url="https://github.com/Neilpang/acme.sh"
|
|
arch="noarch"
|
|
license="GPL"
|
|
_commit=09bce5e6d6be6b97b3c843b815087874e3e44a21
|
|
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="b2d3d1c3f0ba1d57f40373aa430f53b8398e3798cadb4ab6bc376c9c70edda08cda4380bc8fe9fd272b9e02bd9f763de0a399aeeb5ea8d1a2e8ff5b1d8cef86a acme-sh-2.8.1.tar.gz"
|