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 # 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 diff --git a/desktop/gtk-kde4/gtk-kde4.info b/desktop/gtk-kde4/gtk-kde4.info index b3ef1a7d6f..67195ccb27 100644 --- a/desktop/gtk-kde4/gtk-kde4.info +++ b/desktop/gtk-kde4/gtk-kde4.info @@ -1,10 +1,10 @@ PRGNAM="gtk-kde4" -VERSION="0.9.5" +VERSION="0.9.5b" HOMEPAGE="http://kde-apps.org/content/show.php/gtk-kde4?content=74689" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/gtk-kde4(src)0.9.5.tar.gz" +DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/gtk-kde4/74689-gtk-kde4%28src%290.9.5.tar.gz" MD5SUM="d5998e4ccd4bd4b4d6a61e7afe8bbecb" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="nobody" -EMAIL="nobody" +MAINTAINER="Ryan P.C. McQuen" +EMAIL="ryan.q@linux.com"