diff options
author | mario <mario@slackverse.org> | 2010-06-16 07:43:17 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-06-16 07:43:17 -0500 |
commit | e5caa41352d6e4abe04009ee7172c85dd0be9280 (patch) | |
tree | 2536a1f65980179d544052dc7f7b265793dbc25a /desktop/gtk-kde4/gtk-kde4.SlackBuild | |
parent | 53952012d1c465875ac024e1cc24a4af9dcb8e7e (diff) |
desktop/gtk-kde4: Updated for version 0.9.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/gtk-kde4/gtk-kde4.SlackBuild')
-rw-r--r-- | desktop/gtk-kde4/gtk-kde4.SlackBuild | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/desktop/gtk-kde4/gtk-kde4.SlackBuild b/desktop/gtk-kde4/gtk-kde4.SlackBuild index 597588258ccb7..b0e119d17f330 100644 --- a/desktop/gtk-kde4/gtk-kde4.SlackBuild +++ b/desktop/gtk-kde4/gtk-kde4.SlackBuild @@ -23,7 +23,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gtk-kde4 -VERSION=${VERSION:-0.9.3} +SRCNAM="gtk-kde4(src)" +VERSION=${VERSION:-0.9.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,8 +63,12 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xvf $CWD/*-$PRGNAM\(src\)$VERSION.tar.gz -cd $PRGNAM +tar xvf $CWD/$SRCNAM$VERSION.tar.gz + +# build fails with default dirname +mv $SRCNAM $PRGNAM-$VERSION + +cd $PRGNAM-$VERSION chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -71,6 +76,9 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# patch for missing quotes (submitted to author aswell) +patch -p0 <$CWD/gtk-kde4-0.9.4_fix_bad_quotes.patch + cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ @@ -78,13 +86,12 @@ cmake \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DMAN_INSTALL_DIR=/usr/man \ -DCMAKE_BUILD_TYPE=Release - -make VERBOSE=1 +make # disable execution of symlinks.sh sed -i 's/EXECUTE_PROCESS(COMMAND sh .\/symlinks.sh)/#EXECUTE_PROCESS(COMMAND sh .\/symlinks.sh)/' CMakeSymlink -make install VERBOSE=1 DESTDIR=$PKG +make install DESTDIR=$PKG # fix desktop shortcut sed -i 's/kcmshell4 gk4/kcmshell4 kcm_gk4/' kcm/kcm_gk4.desktop |