diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-15 01:43:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-02-16 01:33:35 +0700 |
commit | ba78b3488f8aa7504c7222804959effaae960b33 (patch) | |
tree | c10cd111a75d993596bd7ff80bb781c24cc293b9 /desktop/kde-gtk-config | |
parent | 4c00a30f795b04c7878b164a1c2df6732a9eb3e8 (diff) | |
download | slackbuilds-ba78b3488f8aa7504c7222804959effaae960b33.tar.gz |
desktop/kde-gtk-config: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'desktop/kde-gtk-config')
-rw-r--r-- | desktop/kde-gtk-config/kde-gtk-config.SlackBuild | 5 |
1 files changed, 4 insertions, 1 deletions
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 .. |