void-packages/srcpkgs/ardor/template

32 lines
777 B
Bash
Raw Normal View History

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