void-packages/srcpkgs/ardor/template
2019-04-28 02:14:41 -03:00

31 lines
777 B
Bash

# Template file for 'ardor'
pkgname=ardor
version=2.2.3
revision=1
wrksrc=ardor
hostmakedepends="unzip"
depends="virtual?java-runtime"
short_desc="Client for the Ardor Platform"
maintainer="Fabio Krapohl <Krapohl.f@gmx.de>"
license="Jelurida Public License 1.1"
homepage="https://ardorplatform.org"
distfiles="https://bitbucket.org/Jelurida/ardor/downloads/ardor-client-${version}.zip"
checksum=93ae873e406d405490baf6e26816509282e8c92a505798168a914ede1d2c704e
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
}