diff options
Diffstat (limited to 'desktop/gtk-kde4/gtk-kde4.SlackBuild')
-rw-r--r-- | desktop/gtk-kde4/gtk-kde4.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/desktop/gtk-kde4/gtk-kde4.SlackBuild b/desktop/gtk-kde4/gtk-kde4.SlackBuild index 603a555d60..cab51403fc 100644 --- a/desktop/gtk-kde4/gtk-kde4.SlackBuild +++ b/desktop/gtk-kde4/gtk-kde4.SlackBuild @@ -2,6 +2,8 @@ # Slackware build script for gtk-kde4 +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com + # Copyright 2010-2012, mario <mario@slackverse.org> # All rights reserved. # @@ -24,7 +26,9 @@ PRGNAM=gtk-kde4 SRCNAM="gtk-kde4(src)" -VERSION=${VERSION:-0.9.5} +VERSION=${VERSION:-0.9.5b} +SRCVERSION=${SRCVERSION:-0.9.5} +SRCPREFIX=${SRCPREFIX:-74689} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,14 +65,14 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$SRCNAM$VERSION.tar.gz +tar xvf $CWD/$SRCPREFIX-$SRCNAM$SRCVERSION.tar.gz cd $PRGNAM chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ @@ -84,7 +88,7 @@ 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 \ +find $PKG -print0 | xargs -0 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 |