From ba78b3488f8aa7504c7222804959effaae960b33 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Mon, 15 Feb 2016 01:43:36 +0700 Subject: desktop/kde-gtk-config: Fix build. Signed-off-by: Willy Sudiarto Raharjo --- desktop/kde-gtk-config/kde-gtk-config.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desktop/kde-gtk-config/kde-gtk-config.SlackBuild b/desktop/kde-gtk-config/kde-gtk-config.SlackBuild index a1a5432ee7..9a5fc61f06 100644 --- a/desktop/kde-gtk-config/kde-gtk-config.SlackBuild +++ b/desktop/kde-gtk-config/kde-gtk-config.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=kde-gtk-config VERSION=${VERSION:-2.2.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -70,6 +70,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +sed -i "s|DATA_DIR \"/preview.ui\"|\"\/usr\/share\/apps\/kcm-gtk-module\/preview.ui\"|"g gtk3proxies/preview3.c +sed -i "s|DATA_DIR \"/preview.ui\"|\"\/usr\/share\/apps\/kcm-gtk-module\/preview.ui\"|"g gtkproxies/preview.c + mkdir -p build cd build cmake -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=$LIBDIRSUFFIX .. -- cgit v1.2.3