From 3a79eae69d10e4cec1feeffa4499c3efac88a695 Mon Sep 17 00:00:00 2001 From: Grigorios Bouzakis Date: Tue, 11 May 2010 20:00:07 +0200 Subject: desktop/gtk-engines: Added to 12.0 repository --- desktop/gtk-engines/README | 4 +++ desktop/gtk-engines/gtk-engines.SlackBuild | 56 ++++++++++++++++++++++++++++++ desktop/gtk-engines/gtk-engines.info | 8 +++++ desktop/gtk-engines/slack-desc | 19 ++++++++++ 4 files changed, 87 insertions(+) create mode 100644 desktop/gtk-engines/README create mode 100644 desktop/gtk-engines/gtk-engines.SlackBuild create mode 100644 desktop/gtk-engines/gtk-engines.info create mode 100644 desktop/gtk-engines/slack-desc diff --git a/desktop/gtk-engines/README b/desktop/gtk-engines/README new file mode 100644 index 0000000000..14b5e7d0f0 --- /dev/null +++ b/desktop/gtk-engines/README @@ -0,0 +1,4 @@ +gtk-engines are theme engines for GTK+ 2 + +Package contains Clearlooks, Crux, Industrial, Mist, +Redmond & ThinIce diff --git a/desktop/gtk-engines/gtk-engines.SlackBuild b/desktop/gtk-engines/gtk-engines.SlackBuild new file mode 100644 index 0000000000..f083fbee95 --- /dev/null +++ b/desktop/gtk-engines/gtk-engines.SlackBuild @@ -0,0 +1,56 @@ +#!/bin/sh + +# Slackware build script for gtk-engines + +# Written by Grigorios Bouzakis (grbzks@gmail.com) + +set -e + +PRGNAM=gtk-engines +VERSION=2.11.2 +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -jxvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-s . + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ +--prefix=/usr \ +--enable-animation + +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 + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null +) + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS ChangeLog COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/desktop/gtk-engines/gtk-engines.info b/desktop/gtk-engines/gtk-engines.info new file mode 100644 index 0000000000..6bd4d1c323 --- /dev/null +++ b/desktop/gtk-engines/gtk-engines.info @@ -0,0 +1,8 @@ +PRGNAM="gtk-engines" +VERSION="2.11.2" +HOMEPAGE="http://ftp.gnome.org/pub/gnome/sources/gtk-engines/" +DOWNLOAD="http://ftp.gnome.org/pub/gnome/sources/gtk-engines/2.11/gtk-engines-2.11.2.tar.bz2" +MD5SUM="aa54bd989e8d92593c68681c83267a3d" +MAINTAINER="Grigorios Bouzakis" +EMAIL="grbzks@gmail.com" +APPROVED="BP{k}" diff --git a/desktop/gtk-engines/slack-desc b/desktop/gtk-engines/slack-desc new file mode 100644 index 0000000000..74b95c266d --- /dev/null +++ b/desktop/gtk-engines/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' +# on the right side marks the last column you can put a character in. You must +# make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':'. + + |-----handy-ruler------------------------------------------------------| +gtk-engines: gtk-engines (Theme engines for GTK+ 2) +gtk-engines: +gtk-engines: gtk-egines is a collection of basic theme engines for GTK+ 2. +gtk-engines: This package contains Clearlooks, Crux, Industrial, Mist, +gtk-engines: Redmond & ThinIce +gtk-engines: +gtk-engines: Homepage: http://ftp.gnome.org/pub/GNOME/sources/gtk-engines/ +gtk-engines: +gtk-engines: +gtk-engines: +gtk-engines: -- cgit v1.2.3