Kwrite, move Desktop entry in main menu (#11539)

This commit is contained in:
Schrijvers Luc
2024-12-27 09:48:19 +01:00
committed by GitHub
parent 1b41140889
commit 7c21a284de

View File

@@ -51,7 +51,7 @@ Backup and Restore
HOMEPAGE="https://www.kde.org/applications/utilities/kwrite/"
COPYRIGHT="2010-2024 KDE Organisation"
LICENSE="GNU LGPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kate-$portVersion.tar.xz"
CHECKSUM_SHA256="a5926a0d85c69ca2cc34d87e567501e795e95050e16f896e39cd8cac4ced2348"
SOURCE_DIR="kate-$portVersion"
@@ -142,8 +142,6 @@ INSTALL()
rm -rf $dataDir/{applications,icons,metainfo}
find $dataDir/locale -type f ! -name 'kwrite.mo' -delete
mkdir -p "$dataDir/deskbar/menu/Applications/KDE"
local APP_SIGNATURE="application/x-vnd.Qt6-kwrite"
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
@@ -158,7 +156,7 @@ INSTALL()
$portDir/additional-files/kwrite.rdef.in > kwrite.rdef
addResourcesToBinaries kwrite.rdef $binDir/kwrite
addAppDeskbarSymlink $binDir/kwrite "KDE/Kwrite"
addAppDeskbarSymlink $binDir/kwrite Kwrite
}
TEST()