mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
desktop/alphacube: Added to 12.0 repository
This commit is contained in:
parent
9a120393ac
commit
fa2a24e122
4 changed files with 94 additions and 0 deletions
3
desktop/alphacube/README
Normal file
3
desktop/alphacube/README
Normal file
|
@ -0,0 +1,3 @@
|
|||
Alphacube - a Window Decoration native KDE 3.5.*
|
||||
|
||||
Ported from the Metacity theme Alphacube.
|
64
desktop/alphacube/alphacube.SlackBuild
Normal file
64
desktop/alphacube/alphacube.SlackBuild
Normal file
|
@ -0,0 +1,64 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for alphacube
|
||||
# Written by core (eroc@linuxmail.org)
|
||||
|
||||
set -e
|
||||
|
||||
PRGNAM=alphacube
|
||||
PRGNAMALT=Alphacube
|
||||
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 \
|
||||
--enable-shared=yes \
|
||||
--enable-static=no
|
||||
|
||||
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
|
||||
cat readme > $PKG/usr/doc/$PRGNAM-$VERSION/readme
|
||||
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
|
8
desktop/alphacube/alphacube.info
Normal file
8
desktop/alphacube/alphacube.info
Normal file
|
@ -0,0 +1,8 @@
|
|||
PRGNAM="alphacube"
|
||||
VERSION="0.3"
|
||||
HOMEPAGE="http://www.kde-look.org/content/show.php/Alphacube?content=32099"
|
||||
DOWNLOAD="http://www.kde-look.org/CONTENT/content-files/32099-Alphacube-0.3.tar.bz2"
|
||||
MD5SUM="e5213ead2810f8b9f7cfde80f11035fa"
|
||||
MAINTAINER="core"
|
||||
EMAIL="eroc@linuxmail.org"
|
||||
APPROVED="BP{k}"
|
19
desktop/alphacube/slack-desc
Normal file
19
desktop/alphacube/slack-desc
Normal 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------------------------------------------------------|
|
||||
alphacube: Alphacube (a Window Decoration native KDE 3.5.*)
|
||||
alphacube:
|
||||
alphacube: Ported from the Metacity theme Alphacube.
|
||||
alphacube:
|
||||
alphacube: Homepage:
|
||||
alphacube: http://www.kde-look.org/content/show.php/Alphacube?content=32099
|
||||
alphacube:
|
||||
alphacube:
|
||||
alphacube:
|
||||
alphacube:
|
||||
alphacube:
|
Loading…
Reference in a new issue