desktop/blended: Added to 12.0 repository

This commit is contained in:
core 2010-05-11 20:00:03 +02:00 committed by Michiel van Wessem
parent 525ab7bc29
commit e0f2013fb2
4 changed files with 93 additions and 0 deletions

3
desktop/blended/README Normal file
View file

@ -0,0 +1,3 @@
Blended - A kwin window decoration theme.
Blended is a Window Decoration native for KDE 3.2+

View file

@ -0,0 +1,63 @@
#!/bin/sh
# Slackware build script for blended
# Written by core (eroc@linuxmail.org)
set -e
PRGNAM=blended
PRGNAMALT=Blended
VERSION=0.3
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/*-$PRGNAMALT-$VERSION.tar.bz2
mv $PRGNAMALT-$VERSION $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
KDEPREF=$(kde-config --prefix) || true
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=$KDEPREF
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
)
# Integrate the color scheme
mkdir -p $PKG/$KDEPREF/share/apps/kdisplay/color-schemes/
cat $PRGNAMALT.kcsrc > $PKG/$KDEPREF/share/apps/kdisplay/color-schemes/$PRGNAMALT.kcsrc
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING $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

View file

@ -0,0 +1,8 @@
PRGNAM="blended"
VERSION="0.3"
HOMEPAGE="http://www.kde-look.org/content/show.php/Blended?content=32613"
DOWNLOAD="http://www.kde-look.org/CONTENT/content-files/32613-Blended-0.3.tar.bz2"
MD5SUM="da1c66b6018c1210666659de3e5754fa"
MAINTAINER="core"
EMAIL="eroc@linuxmail.org"
APPROVED="BP{k}"

View file

@ -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------------------------------------------------------|
blended: Blended (A kwin window decoration theme.)
blended:
blended: Blended is a Window Decoration native for KDE 3.2+
blended:
blended: Homepage:
blended: http://www.kde-look.org/content/show.php/Blended?content=32613
blended:
blended:
blended:
blended:
blended: