Updated to version 11, no changes in the recipe were needed (#6990)

This commit is contained in:
Javier Steinaker
2022-06-15 01:09:07 -03:00
committed by GitHub
parent 7eb0f9a631
commit 53a9ab2b3f

View File

@@ -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-2021 Ancestris"
LICENSE="GNU GPL v3"
REVISION="1"
buildVersion="20211017"
SOURCE_URI="http://www.ancestris.org/dl/pub/ancestris/releases/ancestris-$portVersion-$buildVersion.zip"
CHECKSUM_SHA256="b9a403a649e74cccb2105113434562accb5709379bc2d040438af9ea9d195fed"
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'
}