diff options
author | mario <mario@slackverse.org> | 2012-10-09 18:01:46 +0200 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-11-04 09:53:45 -0500 |
commit | b370ae4b22f1ed87156473ba92e969bb11427f54 (patch) | |
tree | 607d4351de0ab0d7512f1f5827f4f2dd7309af8e /desktop/gtk-kde4/gtk-kde4.SlackBuild | |
parent | a39b8024d0e4262b44286acc7e06c99cc2e3cfef (diff) | |
download | slackbuilds-b370ae4b22f1ed87156473ba92e969bb11427f54.tar.gz |
desktop/gtk-kde4: Updated for version 0.9.5, mark as unmaintained.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/gtk-kde4/gtk-kde4.SlackBuild')
-rw-r--r-- | desktop/gtk-kde4/gtk-kde4.SlackBuild | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/desktop/gtk-kde4/gtk-kde4.SlackBuild b/desktop/gtk-kde4/gtk-kde4.SlackBuild index b0e119d17f..998d412a27 100644 --- a/desktop/gtk-kde4/gtk-kde4.SlackBuild +++ b/desktop/gtk-kde4/gtk-kde4.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for gtk-kde4 -# Copyright 2010, mario <mario@slackverse.org> +# Copyright 2010-2012, mario <mario@slackverse.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=gtk-kde4 SRCNAM="gtk-kde4(src)" -VERSION=${VERSION:-0.9.4} +VERSION=${VERSION:-0.9.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -64,11 +64,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$SRCNAM$VERSION.tar.gz - -# build fails with default dirname -mv $SRCNAM $PRGNAM-$VERSION - -cd $PRGNAM-$VERSION +cd $PRGNAM chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ @@ -76,9 +72,6 @@ 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" \ @@ -88,25 +81,18 @@ cmake \ -DCMAKE_BUILD_TYPE=Release make -# disable execution of symlinks.sh -sed -i 's/EXECUTE_PROCESS(COMMAND sh .\/symlinks.sh)/#EXECUTE_PROCESS(COMMAND sh .\/symlinks.sh)/' CMakeSymlink - -make install DESTDIR=$PKG - # fix desktop shortcut sed -i 's/kcmshell4 gk4/kcmshell4 kcm_gk4/' kcm/kcm_gk4.desktop +make install DESTDIR=$PKG + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING readme $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -# fix this -mv $PKG/root/.gtkrc-2.0-kde4 $PKG/usr/doc/$PRGNAM-$VERSION/gtkrc-2.0-kde4 -rmdir $PKG/root - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh |