aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorK.D.Hedger <kdhedger68713@gmail.com>2013-10-29 20:03:52 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-29 20:03:52 -0500
commit52266cd1eea5e56f37b8f9e5cc65cd7893d4ef23 (patch)
tree8d386ddaa64910463795c5234fa44c41a653029c
parent6d9c55f9d3dfb77c26b7337c07099e4e9b968028 (diff)
desktop/Xfce-Theme-Manager: Updated for version 0.3.4.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--desktop/Xfce-Theme-Manager/README2
-rw-r--r--desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild31
-rw-r--r--desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.info8
3 files changed, 25 insertions, 16 deletions
diff --git a/desktop/Xfce-Theme-Manager/README b/desktop/Xfce-Theme-Manager/README
index e53f5524d6dba..42b55a99241ba 100644
--- a/desktop/Xfce-Theme-Manager/README
+++ b/desktop/Xfce-Theme-Manager/README
@@ -1,4 +1,4 @@
-Xfce-Theme-Manager ( Xfce4 Theme Manager GUI )
+Xfce-Theme-Manager (Xfce4 Theme Manager GUI)
An integrated GUI to set the various parts of an Xfce4 theme.
Including Meta-themes,Window borders, Gtk controls,Icons,cursors
diff --git a/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild b/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild
index 9a1952dc04f7a..47fba1778a063 100644
--- a/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild
+++ b/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild
@@ -2,9 +2,7 @@
# Slackware build script for Xfce-Theme-Manager
-# Copyright 2012 K.D.Hedger
-# kdhedger@yahoo.co.uk
-#
+# Copyright 2013 K.D.Hedger United Kingdom
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,10 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Xfce-Theme-Manager
-VERSION=${VERSION:-0.1.18}
+VERSION=${VERSION:-0.3.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+TARNAM=$(echo $PRGNAM | tr [:upper:] [:lower:])
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$TARNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -71,16 +71,25 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-sed -i "s,-O3,$SLKCFLAGS," Makefile
-sed -i 's/rm $(PROGRAM)||true//' Makefile
-make install PREFIX=/usr DESTDIR=$PKG
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --build=$ARCH-slackware-linux
+
+make
+make install DESTDIR=$PKG
+
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-cp -a xfce-theme-manager $PKG/usr/bin/xfce-theme-manager
-cp -a Xfce-Theme-Manager.desktop $PKG/usr/share/applications
+mv $PKG/usr/share/man $PKG/usr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a ChangeLog INSTALL $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/Xfce-Theme-Manager/docs/* $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ln -s ../../doc/$PRGNAM-$VERSION $PKG/usr/share/Xfce-Theme-Manager/docs
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.info b/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.info
index 9e5d1ec1594f3..586ece4b25c8f 100644
--- a/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.info
+++ b/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.info
@@ -1,10 +1,10 @@
PRGNAM="Xfce-Theme-Manager"
-VERSION="0.1.18"
+VERSION="0.3.4"
HOMEPAGE="http://keithhedger.hostingsiteforfree.com"
-DOWNLOAD="http://keithhedger.hostingsiteforfree.com/zips/Xfce-Theme-Manager-0.1.18.tar.gz "
-MD5SUM="8452476918f35cba908eaa8a3e83bdf7"
+DOWNLOAD="http://aur.mfs.name/xfce-theme-manager/xfce-theme-manager-0.3.4.tar.gz"
+MD5SUM="763fba31d893afef551d63d47a43a9dd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="K.D.Hedger"
-EMAIL="kdhedger@yahoo.co.uk"
+EMAIL="kdhedger68713@gmail.com"