mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
desktop/kdmtheme: Updated for version 1.2.2
This commit is contained in:
parent
7159b29707
commit
70a98a3330
3 changed files with 32 additions and 14 deletions
|
@ -1,7 +1,6 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# SlackBuild script for kdmtheme
|
||||
# Written by Michiel van Wessem (BP{k}) <michiel@slackbuilds.org>
|
||||
|
||||
# Copyright 2007 Michiel van Wessem (http://michielvwessem.wordpress.com)
|
||||
# All rights reserved.
|
||||
|
@ -23,13 +22,12 @@
|
|||
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
set -e
|
||||
|
||||
PRGNAM=kdmtheme
|
||||
VERSION=1.1.3
|
||||
VERSION=1.2.2
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM
|
||||
|
@ -43,21 +41,33 @@ elif [ "$ARCH" = "i686" ]; then
|
|||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
fi
|
||||
|
||||
set -e # Exit on errors
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
rm -rf $TMP/$PRGNAM-$VERSION
|
||||
cd $TMP
|
||||
tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-s .
|
||||
find . \
|
||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||
-exec chmod 755 {} \; -o \
|
||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||
-exec chmod 644 {} \;
|
||||
|
||||
# Patch borken configure that insists on automake-1.7.
|
||||
# Patch by Gohanz (http://www.slacky.eu)
|
||||
ACVER=$(whereis aclocal- 2>&1|sed -e 's#.*bin/aclocal-\([0-9.]*\).*#\1#')
|
||||
sed -i "s/am__api_version=\"1.7\"/am__api_version=\"$ACVER\"/" configure
|
||||
|
||||
KDEPREF=$(kde-config --prefix) || true
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure --prefix=/opt/kde \
|
||||
--disable-debug \
|
||||
--program-prefix="" \
|
||||
--program-suffix=""
|
||||
./configure \
|
||||
--prefix=$KDEPREF \
|
||||
--disable-debug
|
||||
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="kdmtheme"
|
||||
VERSION="1.1.3"
|
||||
VERSION="1.2.2"
|
||||
HOMEPAGE="http://www.kde-look.org/content/show.php?content=22120"
|
||||
DOWNLOAD="http://beta.smileaf.org/files/kdmtheme/kdmtheme-1.1.3.tar.bz2"
|
||||
MD5SUM="f49500529652a03701dff03ca54986c4"
|
||||
DOWNLOAD="http://beta.smileaf.org/files/kdmtheme/kdmtheme-1.2.2.tar.bz2"
|
||||
MD5SUM="292188b0a74b865ec7429077ff5e02b7"
|
||||
MAINTAINER="Michiel van Wessem"
|
||||
EMAIL="michiel@slackbuilds.org"
|
||||
APPROVED="rworkman"
|
||||
|
|
|
@ -1,4 +1,12 @@
|
|||
kdmtheme: kdmtheme - a KDM Theme Manager
|
||||
# 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------------------------------------------------------|
|
||||
kdmtheme: kdmtheme (a KDM Theme Manager)
|
||||
kdmtheme:
|
||||
kdmtheme: KDM Theme Manager is just what it says: a Theme Manager for KDM.
|
||||
kdmtheme: This control module allows you to easily add, remove, and/or select
|
||||
|
|
Loading…
Reference in a new issue