mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
KolourPaint: bump revision
* #3274: run "kbuildsycoca --global" in post-install script.
This commit is contained in:
3
kde-base/kolourpaint/additional-files/run_kbuildsycoca.sh
Executable file
3
kde-base/kolourpaint/additional-files/run_kbuildsycoca.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#/bin/sh
|
||||
|
||||
kbuildsycoca --global
|
||||
@@ -18,12 +18,15 @@ libraries."
|
||||
HOMEPAGE="http://www.kolourpaint.org/"
|
||||
COPYRIGHT="2010-2018 KDE Organisation"
|
||||
LICENSE="GNU LGPL v2"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/KDE/kolourpaint/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="567102da33443323a957cbbb60d5153c0ccacd0657ca6fa07bd63bd8b8def533"
|
||||
ADDITIONAL_FILES="kolourpaint.rdef.in"
|
||||
|
||||
ARCHITECTURES="?x86_gcc2 x86 x86_64"
|
||||
CHECKSUM_SHA256="56ff8bf61630fad231c532c1cc7654689ba81e1e163c55ac6c74ecc18b7a60ab"
|
||||
ADDITIONAL_FILES="
|
||||
kolourpaint.rdef.in
|
||||
run_kbuildsycoca.sh
|
||||
"
|
||||
POST_INSTALL_SCRIPTS="$relativePostInstallDir/run_kbuildsycoca.sh"
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
@@ -122,6 +125,7 @@ BUILD_REQUIRES="
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:lrelease$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
@@ -152,6 +156,9 @@ INSTALL()
|
||||
mv $appsDir/KolourPaint/bin/kolourpaint $appsDir/KolourPaint/KolourPaint
|
||||
rm -rf $appsDir/KolourPaint/bin
|
||||
|
||||
mkdir -p $postInstallDir
|
||||
cp $portDir/additional-files/run_kbuildsycoca.sh $postInstallDir
|
||||
|
||||
local APP_SIGNATURE="application/x-vnd.qt5-kolourpaint"
|
||||
local MAJOR="`echo "$portVersion" | cut -d. -f1`"
|
||||
local MIDDLE="`echo "$portVersion" | cut -d. -f2`"
|
||||
Reference in New Issue
Block a user