simsu: bump version

This commit is contained in:
Gerasim Troeglazov
2023-07-18 21:21:59 +10:00
parent 9d3e6de995
commit f81b2a0ad3

View File

@@ -5,11 +5,11 @@ all instances of a number. You can also check your answers for correctness while
The game stores your current notes and answers, so that you can pick up where you left \
off the next time you play."
HOMEPAGE="https://gottcode.org/simsu/"
COPYRIGHT="2009-2021 Graeme Gott"
COPYRIGHT="2009-2023 Graeme Gott"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://gottcode.org/simsu/simsu-$portVersion-src.tar.bz2"
CHECKSUM_SHA256="6db0c004de67c122ac67f34cc6c1a68cd78be02034eceeab922848f87cb85e87"
SOURCE_URI="https://gottcode.org/simsu/simsu-$portVersion.tar.bz2"
CHECKSUM_SHA256="7230293d7ff8d52b4a8d7f4e26638cff6e22e2a78edcc4ddaf7988da624fb37c"
SOURCE_DIR="simsu-$portVersion"
ADDITIONAL_FILES="
simsu.rdef.in
@@ -26,23 +26,23 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
lib:libQt6Core$secondaryArchSuffix
lib:libQt6Gui$secondaryArchSuffix
lib:libQt6Widgets$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
qt6_tools${secondaryArchSuffix}_devel
devel:libQt6Core$secondaryArchSuffix
devel:libQt6Gui$secondaryArchSuffix
devel:libQt6Widgets$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:qmake$secondaryArchSuffix >= 5
cmd:unzip
"
@@ -53,15 +53,21 @@ PATCH()
BUILD()
{
qmake
make $jobArgs
cmake -B build -S . \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$appsDir/Simsu \
-DCMAKE_INSTALL_BINDIR=$appsDir/Simsu \
-DCMAKE_INSTALL_DATADIR=$appsDir/Simsu/data \
-DCMAKE_INSTALL_MANDIR=$manDir
make -C build $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/Simsu/translations
cp simsu $appsDir/Simsu/Simsu
cp -Rf translations/*.qm $appsDir/Simsu/translations
make install -C build
mv $appsDir/Simsu/simsu $appsDir/Simsu/Simsu
rm -rf $appsDir/Simsu/data/{metainfo,icons,applications}
local APP_SIGNATURE="application/x-vnd.gottcode-simsu"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"