summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/gtk-engines/gtk-engines.SlackBuild41
-rw-r--r--desktop/gtk-engines/gtk-engines.info6
-rw-r--r--desktop/gtk-engines/slack-desc2
3 files changed, 32 insertions, 17 deletions
diff --git a/desktop/gtk-engines/gtk-engines.SlackBuild b/desktop/gtk-engines/gtk-engines.SlackBuild
index 0cc5f97d78..2161de3156 100644
--- a/desktop/gtk-engines/gtk-engines.SlackBuild
+++ b/desktop/gtk-engines/gtk-engines.SlackBuild
@@ -1,10 +1,26 @@
#!/bin/sh
-
# Slackware build script for gtk-engines
-# Written by Grigorios Bouzakis (grbzks@xsmail.com)
+
+# Copyright 2007-2010 Grigorios Bouzakis <grbzks@xsmail.com>
+# All rights reserved.
+#
+# Permission to use, copy, modify, and distribute this software for any purpose
+# with or without fee is hereby granted, provided that the above copyright
+# notice and this permission notice appear in all copies.
+#
+# THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
+# INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
+# FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+# AUTHORS AND COPYRIGHT HOLDERS AND THEIR CONTRIBUTORS BE LIABLE FOR ANY
+# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
+# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gtk-engines
-VERSION=${VERSION:-2.18.2}
+VERSION=${VERSION:-2.20.1}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -23,15 +39,20 @@ elif [ "$ARCH" = "i686" ]; then
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
+else
+ SLKCFLAGS="-O2"
+ LIBDIRSUFFIX=""
fi
+DOCS="AUTHORS ChangeLog COPYING INSTALL NEWS README"
+
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -55,17 +76,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+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 \
- AUTHORS ChangeLog COPYING INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/desktop/gtk-engines/gtk-engines.info b/desktop/gtk-engines/gtk-engines.info
index 2987f6eefe..d7c326e051 100644
--- a/desktop/gtk-engines/gtk-engines.info
+++ b/desktop/gtk-engines/gtk-engines.info
@@ -1,8 +1,8 @@
PRGNAM="gtk-engines"
-VERSION="2.18.2"
+VERSION="2.20.1"
HOMEPAGE="http://ftp.gnome.org/pub/gnome/sources/gtk-engines/"
-DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.18/gtk-engines-2.18.2.tar.gz"
-MD5SUM="d2bb3b7f3937b8d6bbb2d858a5be8d36"
+DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.20/gtk-engines-2.20.1.tar.bz2"
+MD5SUM="666de7fcdb775cd90dd95e1b20860b5a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Grigorios Bouzakis"
diff --git a/desktop/gtk-engines/slack-desc b/desktop/gtk-engines/slack-desc
index 0ab6f62988..228628f6a6 100644
--- a/desktop/gtk-engines/slack-desc
+++ b/desktop/gtk-engines/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler------------------------------------------------------|
+ |-----handy-ruler--------------------------------------------------|
gtk-engines: gtk-engines (Theme engines for GTK+2)
gtk-engines:
gtk-engines: gtk-engines is a collection of basic theme engines for GTK+2.