void-packages/srcpkgs/ardor/template
2019-11-17 12:54:57 +01:00

31 lines
784 B
Bash

# Template file for 'ardor'
pkgname=ardor
version=2.2.5
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="custom:Jelurida Public License 1.1"
homepage="https://ardorplatform.org"
distfiles="https://bitbucket.org/Jelurida/ardor/downloads/ardor-client-${version}.zip"
checksum=1282b33b153e6727bf70103c707cf0d1f3f8171f92a4fb673c32b7208171e16a
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
}