aboutsummaryrefslogtreecommitdiff
path: root/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild
diff options
context:
space:
mode:
authorK.D.Hedger <kdhedger@yahoo.co.uk>2012-05-20 16:57:17 -0400
committerErik Hanson <erik@slackbuilds.org>2012-05-21 17:58:11 -0500
commit9941d15214737491ad5cda9682a1ad33a4f7b8b5 (patch)
tree8600367c1365026a48c62d42a89e38dd06573244 /desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild
parentf4d7f3a161af2c28b1e886628a2b25742a016767 (diff)
desktop/Xfce-Theme-Manager: Updated for version 0.1.7.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild')
-rw-r--r--desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild24
1 files changed, 10 insertions, 14 deletions
diff --git a/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild b/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild
index f4f9e2c92a80e..ebd2589f5b8c9 100644
--- a/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild
+++ b/desktop/Xfce-Theme-Manager/Xfce-Theme-Manager.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=Xfce-Theme-Manager
-VERSION=${VERSION:-0.0.8}
+VERSION=${VERSION:-0.1.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,11 +60,11 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf ${TMP}/$PRGNAM-$VERSION
-mkdir -p ${TMP}/$PRGNAM-$VERSION
-
-cd ${TMP}/$PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM.tar.gz
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+mkdir -p $TMP/$PRGNAM-$VERSION
+cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -72,15 +72,11 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-mkdir -p $PKG/usr/bin $PKG/usr/doc $PKG/usr/share/applications
-
-cd gtkpreview
- sed -i "s,-O3,$SLKCFLAGS," Makefile
- make install PREFIX=/usr DESTDIR=$PKG
-cd ..
+sed -i "s,-O3,$SLKCFLAGS," Makefile
+make install PREFIX=/usr DESTDIR=$PKG
-cp xfce-theme-manager ${PKG}/usr/bin/xfce-theme-manager
-cp Xfce-Theme-Manager.desktop ${PKG}/usr/share/applications
+cp -a xfce-theme-manager $PKG/usr/bin/xfce-theme-manager
+cp -a Xfce-Theme-Manager.desktop $PKG/usr/share/applications
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README $PKG/usr/doc/$PRGNAM-$VERSION