mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
Kwrite, move Desktop entry in main menu (#11539)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user