31 lines
776 B
Bash
31 lines
776 B
Bash
# Template file for 'ardor'
|
|
pkgname=ardor
|
|
version=2.2.6
|
|
revision=1
|
|
hostmakedepends="unzip"
|
|
depends="virtual?java-runtime"
|
|
short_desc="Client for the Ardor Platform"
|
|
maintainer="Fabio Krapohl <Krapohl.f@gmx.de>"
|
|
license="custom:Jelurida Public License 1.1"
|
|
homepage="https://www.jelurida.com/ardor"
|
|
distfiles="https://bitbucket.org/Jelurida/ardor/downloads/ardor-client-${version}.zip"
|
|
checksum=c2edf8d9785f4c9e8b2768324aca925e6c9a0ea5eb74996c7490a56967951366
|
|
|
|
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
|
|
}
|