diff --git a/kde-apps/kcalc/kcalc-22.04.0.recipe b/kde-apps/kcalc/kcalc-22.04.0.recipe index e5654a27a..14a6101a2 100644 --- a/kde-apps/kcalc/kcalc-22.04.0.recipe +++ b/kde-apps/kcalc/kcalc-22.04.0.recipe @@ -9,7 +9,7 @@ DESCRIPTION="KCalc has everything you would expect from a scientific calculator, HOMEPAGE="https://apps.kde.org/en/kcalc" COPYRIGHT="2010-2022 KDE Organisation" LICENSE="GNU GPL v2" -REVISION="1" +REVISION="2" SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kcalc-$portVersion.tar.xz" CHECKSUM_SHA256="2f57466f9bcdc08854df9a07fced3594b81bde6e3aa4a382ba42ac1d2ae6e7bd" SOURCE_DIR="kcalc-$portVersion" @@ -20,6 +20,7 @@ SECONDARY_ARCHITECTURES="x86" PROVIDES=" kcalc$secondaryArchSuffix = $portVersion + cmd:kcalc = $portVersion app:KCalc$secondaryArchSuffix = $portVersion lib:libkdeinit5_kcalc$secondaryArchSuffix = $portVersion " @@ -124,6 +125,9 @@ INSTALL() mv $appsDir/bin/kcalc $appsDir/KCalc rm -rf $appsDir/bin + mkdir -p $prefix/bin + ln -s $appsDir/KCalc $prefix/bin/kcalc + local APP_SIGNATURE="application/x-vnd.kde-kcalc" local MAJOR="`echo "$portVersion" | cut -d. -f1`" local MIDDLE="`echo "$portVersion" | cut -d. -f2`"