kcalc, revbump, create symlink to be used for kmymoney (#9798)

This commit is contained in:
Schrijvers Luc
2023-11-28 15:39:06 +01:00
committed by GitHub
parent c2567b3261
commit 182249662a

View File

@@ -9,7 +9,7 @@ DESCRIPTION="KCalc has everything you would expect from a scientific calculator,
HOMEPAGE="https://apps.kde.org/en/kcalc" HOMEPAGE="https://apps.kde.org/en/kcalc"
COPYRIGHT="2010-2022 KDE Organisation" COPYRIGHT="2010-2022 KDE Organisation"
LICENSE="GNU GPL v2" LICENSE="GNU GPL v2"
REVISION="1" REVISION="2"
SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kcalc-$portVersion.tar.xz" SOURCE_URI="https://download.kde.org/stable/release-service/$portVersion/src/kcalc-$portVersion.tar.xz"
CHECKSUM_SHA256="2f57466f9bcdc08854df9a07fced3594b81bde6e3aa4a382ba42ac1d2ae6e7bd" CHECKSUM_SHA256="2f57466f9bcdc08854df9a07fced3594b81bde6e3aa4a382ba42ac1d2ae6e7bd"
SOURCE_DIR="kcalc-$portVersion" SOURCE_DIR="kcalc-$portVersion"
@@ -20,6 +20,7 @@ SECONDARY_ARCHITECTURES="x86"
PROVIDES=" PROVIDES="
kcalc$secondaryArchSuffix = $portVersion kcalc$secondaryArchSuffix = $portVersion
cmd:kcalc = $portVersion
app:KCalc$secondaryArchSuffix = $portVersion app:KCalc$secondaryArchSuffix = $portVersion
lib:libkdeinit5_kcalc$secondaryArchSuffix = $portVersion lib:libkdeinit5_kcalc$secondaryArchSuffix = $portVersion
" "
@@ -124,6 +125,9 @@ INSTALL()
mv $appsDir/bin/kcalc $appsDir/KCalc mv $appsDir/bin/kcalc $appsDir/KCalc
rm -rf $appsDir/bin rm -rf $appsDir/bin
mkdir -p $prefix/bin
ln -s $appsDir/KCalc $prefix/bin/kcalc
local APP_SIGNATURE="application/x-vnd.kde-kcalc" local APP_SIGNATURE="application/x-vnd.kde-kcalc"
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`"