Created
July 5, 2018 19:01
-
-
Save porky11/b95c5d909e77ddf89d9f935b31070748 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Template file for 'ardor' | |
pkgname=ardor | |
version=2.0.14 | |
revision=1 | |
wrksrc="ardor" | |
hostmakedepends="unzip" | |
makedepends="" | |
depends="" | |
short_desc="The Ardor Platform" | |
maintainer="Fabio Krapohl <[email protected]>" | |
license="GPL-3.0-or-later" | |
homepage="jelurida.org" | |
distfiles="https://bitbucket.org/Jelurida/ardor/downloads/ardor-client-${version}.zip" | |
checksum=23ec29b0995970c7ce183dd024acc04b87481c24ca34ba7d5412a30bed437dc1 | |
do_install() { | |
mkdir -p ${PGKDESTDIR}/opt/$pkgname | |
mkdir -p ${PGKDESTDIR}/usr/bin | |
cp -Rf . ${PGKDESTDIR}/opt | |
echo '#!/bin/sh' > ${PGKDESTDIR}/usr/bin/ardor | |
echo 'cd /opt/ardor && bash run.sh' >> ${PGKDESTDIR}/usr/bin/ardor | |
echo '#!/bin/sh' > ${PGKDESTDIR}/usr/bin/ardor-tor | |
echo 'cd /opt/ardor && bash run-tor.sh' >> ${PGKDESTDIR}/usr/bin/ardor-tor | |
chmod 755 ${PGKDESTDIR}/usr/bin/ardor | |
chmod 755 ${PGKDESTDIR}/usr/bin/ardor-tor | |
mkdir -p ${PGKDESTDIR}/opt/ardor/nxt_db | |
chmod 777 -R ${PGKDESTDIR}/opt/ardor | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment