diff options
Diffstat (limited to 'desktop/gtk-engines/gtk-engines.SlackBuild')
-rw-r--r-- | desktop/gtk-engines/gtk-engines.SlackBuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/desktop/gtk-engines/gtk-engines.SlackBuild b/desktop/gtk-engines/gtk-engines.SlackBuild index 1c5dfc85ce..a93b463af5 100644 --- a/desktop/gtk-engines/gtk-engines.SlackBuild +++ b/desktop/gtk-engines/gtk-engines.SlackBuild @@ -1,8 +1,11 @@ #!/bin/sh -# Slackware build script for gtk-engines - +# +# Slackware build script for gtk-engines. +# # Copyright 2007-2010 Grigorios Bouzakis <grbzks@xsmail.com> # Copyright 2014 Ryan P.C. McQuen, WA, ryanpcmcquen@member.fsf.org +# Copyright 2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# # All rights reserved. # # Permission to use, copy, modify, and distribute this software for any purpose @@ -21,13 +24,13 @@ # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gtk-engines -VERSION=${VERSION:-2.20.2} -BUILD=${BUILD:-3} +VERSION=${VERSION:-2.91.1} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -38,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -59,6 +62,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION + chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ |