knavalbattle, bump to 25.04.0 (#12361)

This commit is contained in:
Schrijvers Luc
2025-05-12 13:52:29 +02:00
committed by GitHub
parent dc5dea0824
commit ebfc0c2c8a

View File

@@ -8,7 +8,7 @@ COPYRIGHT="2010-2025 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/knavalbattle-$portVersion.tar.xz"
CHECKSUM_SHA256="77bc931c1fab52de96088195a3e42c5ce83519a8ea328fab0f2a89dd8cf2bea8"
CHECKSUM_SHA256="21ea4d8b1677ef6fa4db5c1cdaa38e02769d8d2f888dbc2a55bb7ca180ad5535"
SOURCE_DIR="knavalbattle-$portVersion"
ADDITIONAL_FILES="knavalbattle.rdef.in"
@@ -17,7 +17,7 @@ SECONDARY_ARCHITECTURES="x86"
PROVIDES="
knavalbattle$secondaryArchSuffix = $portVersion
app:KNavalBattle$secondaryArchSuffix = $portVersion
app:KNavalBattle = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -129,17 +129,17 @@ INSTALL()
mv $appsDir/knavalbattle $appsDir/KNavalBattle
local APP_SIGNATURE="application/x-vnd.kde-knavalbattle"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
local LONG_INFO="$SUMMARY"
local APP_SIGNATURE="application/x-vnd.kde-knavalbattle"
sed \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
-e "s|@MAJOR@|$MAJOR|" \
-e "s|@MIDDLE@|$MIDDLE|" \
-e "s|@MINOR@|$MINOR|" \
-e "s|@LONG_INFO@|$LONG_INFO|" \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \
$portDir/additional-files/knavalbattle.rdef.in > knavalbattle.rdef
addResourcesToBinaries knavalbattle.rdef $appsDir/KNavalBattle