Files
haikuports/app-misc/ancestris/ancestris-12.recipe
François Revol 36e997e982 Ancestris: bump version
The windows still have the wrong size here though.
2025-02-04 15:44:50 +01:00

46 lines
1.1 KiB
Bash

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