New Package: ardor-2.1.2

closes #690
This commit is contained in:
svenper 2018-07-06 10:27:27 +02:00 committed by maxice8
parent fc001c25df
commit c48b5024f5
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
3 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ardor-tor > /dev/null

View File

@ -0,0 +1,2 @@
#!/bin/sh
exec ardor > /dev/null

31
srcpkgs/ardor/template Normal file
View File

@ -0,0 +1,31 @@
# 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
}