mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 06:28:55 +02:00
kcalc, revbump, create symlink to be used for kmymoney (#9798)
This commit is contained in:
@@ -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`"
|
||||
|
||||
Reference in New Issue
Block a user