ancestris, revbump, fixes checksum, bump java version (#12830)

This commit is contained in:
Schrijvers Luc
2025-08-27 18:48:21 +02:00
committed by GitHub
parent 791ac756d4
commit 6e86cde8e2

View File

@@ -4,9 +4,9 @@ DESCRIPTION="Ancestris is a free genealogy software based on NetBeans,\
HOMEPAGE="https://ancestris.org/"
COPYRIGHT="2011-2024 Ancestris"
LICENSE="GNU GPL v3"
REVISION="1"
REVISION="2"
SOURCE_URI="http://www.ancestris.org/dl/pub/ancestris/releases/ancestris-$portVersion.zip"
CHECKSUM_SHA256="c913f185027cbdf3fe0a93ff0c6b0306aff0b00bb8c95054368ad83751a7af77"
CHECKSUM_SHA256="fc443c3907757d80c64282d9e9bebc4a06c0b4b77b9f4881f51f5909a54d4f2f"
SOURCE_DIR="ancestris"
ARCHITECTURES="any"
@@ -17,7 +17,7 @@ PROVIDES="
"
REQUIRES="
haiku
java:runtime == 11
java:runtime == 17
"
BUILD_REQUIRES="
@@ -34,12 +34,12 @@ INSTALL()
find $appsDir/ancestris/ \( -name '*\.exe' -or -name '*\.bat' \) -delete
cat << EOF > $appsDir/ancestris/ancestris.sh
#!/bin/sh -l
export PATH=\$JRE11_HOME/bin:\$PATH
export PATH=\$JRE17_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'
}