mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
ancestris: add recipe for version 10
This commit is contained in:
46
app-misc/ancestris/ancestris-10.recipe
Normal file
46
app-misc/ancestris/ancestris-10.recipe
Normal 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-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'
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user