diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-08-14 14:13:44 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-08-14 19:04:52 -0500 |
commit | 93459515c75e1dc042ba410aaf7f9c671b89bd69 (patch) | |
tree | 96ce1d898d650d39f6208c1244e77fbc2828d75f /office/kchmviewer/kchmviewer.SlackBuild | |
parent | 0b47c7c5d35ba08b1508fa84b1d348d816ae3895 (diff) |
office/kchmviewer: Updated for version 5.2.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'office/kchmviewer/kchmviewer.SlackBuild')
-rw-r--r-- | office/kchmviewer/kchmviewer.SlackBuild | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/office/kchmviewer/kchmviewer.SlackBuild b/office/kchmviewer/kchmviewer.SlackBuild index 2a15d116b3fc7..246b2a9032954 100644 --- a/office/kchmviewer/kchmviewer.SlackBuild +++ b/office/kchmviewer/kchmviewer.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # # SlackBuild script for KchmViewer. -# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,7 +24,7 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kchmviewer -VERSION=${VERSION:-5.1} +VERSION=${VERSION:-5.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,7 +61,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT -rm -rf $TMP/$PRGNAM-$VERSION +rm -rf $TMP/build-$VERSION cd $TMP tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz cd build-$VERSION @@ -72,6 +72,10 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Patch to build kchmviewer properly. Thanks to +# http://bugs.gentoo.org/320191. +patch -p1 < $CWD/kchmviewer-5.2-kde-build.patch + cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ |