summaryrefslogtreecommitdiff
path: root/desktop/clearlooks
diff options
context:
space:
mode:
authorBrian Muramatsu <brian@fhobia.org>2010-05-11 14:03:45 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 14:03:45 +0200
commit0967e029988e9c88ee2c4d1d4c6e7c48d0f5d3f9 (patch)
treef06e591d89e51120d0d2a720364174892d1fe5b9 /desktop/clearlooks
parent17639f4ee8d9967775fdd3624167557300c71d01 (diff)
downloadslackbuilds-0967e029988e9c88ee2c4d1d4c6e7c48d0f5d3f9.tar.gz
desktop/clearlooks: Initial import
Diffstat (limited to 'desktop/clearlooks')
-rw-r--r--desktop/clearlooks/README5
-rw-r--r--desktop/clearlooks/clearlooks.SlackBuild60
-rw-r--r--desktop/clearlooks/clearlooks.info8
-rw-r--r--desktop/clearlooks/slack-desc19
4 files changed, 92 insertions, 0 deletions
diff --git a/desktop/clearlooks/README b/desktop/clearlooks/README
new file mode 100644
index 0000000000..9efa35949f
--- /dev/null
+++ b/desktop/clearlooks/README
@@ -0,0 +1,5 @@
+Clearlooks is a GTK+ 2.x engine written in C that transforms your GNOME/XFCE
+desktop into a modern looking environment. It is fast and easy on the eyes.
+
+It can be used within a gtk environment, or set for a window manager with a
+tool such as gtk-chtheme.
diff --git a/desktop/clearlooks/clearlooks.SlackBuild b/desktop/clearlooks/clearlooks.SlackBuild
new file mode 100644
index 0000000000..0eb2071638
--- /dev/null
+++ b/desktop/clearlooks/clearlooks.SlackBuild
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+# Slackware build script for clearlooks
+# Written by Brian Muramatsu (brian@fhobia.org)
+
+# Modified by the SlackBuilds.org project
+
+PRGNAM=clearlooks
+VERSION=0.6.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" = "i386" ]; then
+ SLKCFLAGS="-O2 -march=i386 -mtune=i686"
+elif [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP || exit 1
+rm -rf $PRGNAM-$VERSION
+tar xvjf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
+cd $PRGNAM-$VERSION || exit 1
+chown -R root:root .
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ || exit 1
+
+make || exit 1
+make install DESTDIR=$PKG || exit 1
+
+( 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 COPYING CREDITS ChangeLog INSTALL NEWS README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION
+find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \;
+
+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/clearlooks/clearlooks.info b/desktop/clearlooks/clearlooks.info
new file mode 100644
index 0000000000..3f186998a6
--- /dev/null
+++ b/desktop/clearlooks/clearlooks.info
@@ -0,0 +1,8 @@
+PRGNAM="clearlooks"
+VERSION="0.6.2"
+HOMEPAGE="http://clearlooks.sourceforge.net/"
+DOWNLOAD="http://prdownloads.sourceforge.net/clearlooks/clearlooks-0.6.2.tar.bz2"
+MD5SUM="451ef33d1bffa261c5cbe01182199f97"
+MAINTAINER="Brian Muramatsu"
+EMAIL="brian@fhobia.org"
+APPROVED="BP{k}"
diff --git a/desktop/clearlooks/slack-desc b/desktop/clearlooks/slack-desc
new file mode 100644
index 0000000000..73792eb94e
--- /dev/null
+++ b/desktop/clearlooks/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---------------------------------------------------|
+clearlooks: Clearlooks (A simple, elegant, and usable Gtk theme)
+clearlooks:
+clearlooks: Clearlooks is a GTK+ 2.x engine written in C that transforms your
+clearlooks: GNOME/XFCE desktop into a modern looking environment. It is fast
+clearlooks: and easy on the eyes.
+clearlooks:
+clearlooks: For more information, see: http://clearlooks.sourceforge.net/
+clearlooks:
+clearlooks:
+clearlooks:
+clearlooks: