void-packages/srcpkgs/ardor/template

32 lines
783 B
Bash

# Template file for 'ardor'
pkgname=ardor
version=2.2.2
revision=1
wrksrc=ardor
hostmakedepends="unzip"
depends="virtual?java-runtime"
short_desc="Client for the Ardor Platform"
maintainer="Fabio Krapohl <fabio.u.krapohl@fau.de>"
license="Jelurida Public License 1.1"
homepage="https://ardorplatform.org"
distfiles="https://bitbucket.org/Jelurida/ardor/downloads/ardor-client-${version}.zip"
checksum=4d5aa5ade0de7c4ae1ff2fc3ff75d5fdbffd6b5dc15a2673ef99db0caab12c54
do_install() {
echo "#!/bin/sh" > ardor
echo "cd /usr/lib/ardor && exec bash run.sh" >> ardor
vbin ardor
echo "#!/bin/sh" > ardor-tor
echo "cd /usr/lib/ardor && exec bash run-tor.sh" >> ardor-tor
vbin ardor-tor
vsv ardor
vsv ardor-tor
vlicense LICENSE.txt
vmkdir usr/lib/ardor
vcopy . usr/lib/ardor
}