Spotter-VM/app-acme-sh/APKBUILD

24 lines
847 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() {
cd ${builddir}
sed -i 's|$HOME/.$PROJECT_NAME|/etc/acme.sh.d|' acme.sh
mkdir -p ${pkgdir}/usr/bin
cp acme.sh ${pkgdir}/usr/bin/
chmod +x ${pkgdir}/usr/bin/acme.sh
}
sha512sums="93d38007c0c8187217ac220b09180c3a367a9b518d0bb777a58900de134f1afde54e6643c42426e18f65a18de0d77b0c685396b9c33198b927f0ce2b5da778d1 acme-sh-2.7.9.tar.gz"