2018-10-25 22:05:48 +02:00
|
|
|
# Contributor: Disassembler <disassembler@dasm.cz>
|
|
|
|
# Maintainer: Disassembler <disassembler@dasm.cz>
|
|
|
|
pkgname=acme-sh
|
2019-02-26 20:24:02 +01:00
|
|
|
pkgver=2.8.0
|
2018-10-25 22:05:48 +02:00
|
|
|
pkgrel=0
|
2019-02-26 20:24:02 +01:00
|
|
|
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-02-26 20:24:02 +01:00
|
|
|
_commit=f62a4a0c0ccf6cd73b5746dd8b8790ce3c512833
|
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"
|
|
|
|
|
2019-02-26 20:24:02 +01:00
|
|
|
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
|
2019-02-26 20:24:02 +01:00
|
|
|
cp ${startdir}/source/acme-sh ${pkgdir}/etc/periodic/daily/
|
2018-10-25 22:05:48 +02:00
|
|
|
}
|
|
|
|
|
2019-02-26 20:24:02 +01:00
|
|
|
sha512sums="399385c03954fb8c6c9be740ad46ed307ab1b902f88f4e7134fd837e4d189b387811469158fc05f1f8894f4622e5bbbec15ab4ef8eb433dd6dbfda585e7b25b7 acme-sh-2.8.0.tar.gz"
|