knetwalk24, revbump, fix app signature, move link to main Deskbar menu (#10593)

This commit is contained in:
Schrijvers Luc
2024-06-10 17:24:49 +02:00
committed by GitHub
parent 7ec0e33fc5
commit 7dadf0cb1e

View File

@@ -4,7 +4,7 @@ terminals to the server in the fewest turns possible."
HOMEPAGE="https://apps.kde.org/knetwalk"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/knetwalk-$portVersion.tar.xz"
CHECKSUM_SHA256="100cfe198db85e59710bae48d034e9efd41c7034e119c866a1635c6dfd94a618"
SOURCE_DIR="knetwalk-$portVersion"
@@ -115,9 +115,7 @@ INSTALL()
# cleanup
rm -rf $dataDir/{applications,metainfo}
mkdir -p "$dataDir/deskbar/menu/Applications/KDE"
local APP_SIGNATURE="application/x-vnd.kde-kdiamond"
local APP_SIGNATURE="application/x-vnd.kde-knetwalk"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`"
@@ -131,5 +129,5 @@ INSTALL()
$portDir/additional-files/knetwalk.rdef.in > knetwalk.rdef
addResourcesToBinaries knetwalk.rdef $binDir/knetwalk
addAppDeskbarSymlink $binDir/knetwalk "KDE/KNetWalk"
addAppDeskbarSymlink $binDir/knetwalk KNetWalk
}