Krusader: fix application signature

This commit is contained in:
Gerasim Troeglazov
2020-09-24 15:09:07 +10:00
parent 9031e4221f
commit 40ce08eb5d

View File

@@ -20,7 +20,7 @@ user friendly, fast and looks great on your desktop! You should give it a try."
HOMEPAGE="https://krusader.org/" HOMEPAGE="https://krusader.org/"
COPYRIGHT="2000-2020 Krusader Krew" COPYRIGHT="2000-2020 Krusader Krew"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
REVISION="1" REVISION="2"
SOURCE_URI="https://github.com/KDE/krusader/archive/v$portVersion.tar.gz" SOURCE_URI="https://github.com/KDE/krusader/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="08e429e9f5139db8af06d1cdcc86d696e04cd6aff92535d32391568c349b72ab" CHECKSUM_SHA256="08e429e9f5139db8af06d1cdcc86d696e04cd6aff92535d32391568c349b72ab"
ADDITIONAL_FILES="krusader.rdef.in" ADDITIONAL_FILES="krusader.rdef.in"
@@ -135,11 +135,10 @@ INSTALL()
cd build cd build
make install make install
local APP_SIGNATURE="application/x-vnd.qt5-kdiff3" local APP_SIGNATURE="application/x-vnd.qt5-krusader"
local MAJOR="`echo "$portVersion" | cut -d. -f1`" local MAJOR="`echo "$portVersion" | cut -d. -f1`"
local MIDDLE="`echo "$portVersion" | cut -d. -f2`" local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
local MINOR="`echo "$portVersion" | cut -d. -f3`" local MINOR="`echo "$portVersion" | cut -d. -f3`"
local MINOR="0"
local LONG_INFO="$SUMMARY" local LONG_INFO="$SUMMARY"
sed \ sed \
-e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \