From 5bac79a01a6b186f1da30819fe792245b6694cba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Mon, 11 Jun 2018 09:49:39 +0200 Subject: [PATCH] syntax-highlighting: update to 5.47.0. --- srcpkgs/syntax-highlighting/template | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/srcpkgs/syntax-highlighting/template b/srcpkgs/syntax-highlighting/template index faf15a199c3..b5ee2028116 100644 --- a/srcpkgs/syntax-highlighting/template +++ b/srcpkgs/syntax-highlighting/template @@ -1,6 +1,6 @@ # Template file for 'syntax-highlighting' pkgname=syntax-highlighting -version=5.43.0 +version=5.47.0 revision=1 build_style=cmake configure_args="-DBUILD_TESTING=OFF" @@ -10,22 +10,19 @@ short_desc="Syntax highlighting engine for structured text and code" maintainer="Denis Revin " license="LGPL-2" homepage="https://projects.kde.org/projects/frameworks/syntax-highlighting" -distfiles="http://download.kde.org/stable/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" -checksum=611e6ddbd34f2410a2618cef32cc87b49757001da351369ac16c2b3ee6cd3d28 +distfiles="${KDE_SITE}/frameworks/${version%.*}/${pkgname}-${version}.tar.xz" +checksum=0c6c138605639a67ed33ca6ef843144f95cd1aec7ed836c44e14ee3e362b622f if [ -n "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools syntax-highlighting" + hostmakedepends+=" qt5-host-tools qt5-qmake qt5-tools syntax-highlighting qt5-devel qt5-tools-devel" + configure_args+=" -DKATEHIGHLIGHTINGINDEXER_EXECUTABLE=/usr/lib/libexec/${pkgname}/katehighlightingindexer" fi -pre_configure() { - if [ -n "$CROSS_BUILD" ]; then - sed -i -e "s,COMMAND katehighlightingindexer,COMMAND /usr/lib/libexec/${pkgname}/katehighlightingindexer,g" data/CMakeLists.txt - fi -} - post_install() { +if [ -z "$CROSS_BUILD" ]; then # internal tool needed for cross-building vinstall build/bin/katehighlightingindexer 0755 usr/lib/libexec/${pkgname} +fi } syntax-highlighting-devel_package() {