diff --git a/app-misc/ancestris/ancestris-10.recipe b/app-misc/ancestris/ancestris-10.recipe new file mode 100644 index 000000000..b2469cc2f --- /dev/null +++ b/app-misc/ancestris/ancestris-10.recipe @@ -0,0 +1,46 @@ +SUMMARY="A genealogy tool written in Java" +DESCRIPTION="Ancestris is a free genealogy software based on NetBeans,\ + compliant with GEDCOM versions 5.5 and 5.5.1." +HOMEPAGE="https://ancestris.org/" +COPYRIGHT="2011-2020 Ancestris" +LICENSE="GNU GPL v3" +REVISION="1" +buildVersion="20200208" +SOURCE_URI="http://www.ancestris.org/dl/pub/ancestris/releases/ancestris_$portVersion-$buildVersion.zip" +CHECKSUM_SHA256="88251deb222d91de9f381b5c5e58d015d9802f5251662ab6fa95e16e76efc170" +SOURCE_DIR="ancestris" + +ARCHITECTURES="any" +DISABLE_SOURCE_PACKAGE="true" + +PROVIDES=" + ancestris = $portVersion + " +REQUIRES=" + haiku + java:runtime == 11 + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:find + " + +INSTALL() +{ + mkdir -p $appsDir/ancestris + cp -R * $appsDir/ancestris/ + find $appsDir/ancestris/ \( -name '*\.exe' -or -name '*\.bat' \) -delete + cat << EOF > $appsDir/ancestris/ancestris.sh +#!/bin/sh -l +export PATH=\$JRE11_HOME/bin:\$PATH +exec \$(dirname \$(readlink -f \$0))/bin/ancestris +EOF + chmod 755 $appsDir/ancestris/ancestris.sh \ + $appsDir/ancestris/bin/ancestris + + addAppDeskbarSymlink $appsDir/ancestris/ancestris.sh 'Ancestris' + +}