summaryrefslogtreecommitdiffstats
path: root/multimedia/cueplayer/cueplayer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/cueplayer/cueplayer.SlackBuild')
-rw-r--r--multimedia/cueplayer/cueplayer.SlackBuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/multimedia/cueplayer/cueplayer.SlackBuild b/multimedia/cueplayer/cueplayer.SlackBuild
index 7ca30ee127..eb35a0f692 100644
--- a/multimedia/cueplayer/cueplayer.SlackBuild
+++ b/multimedia/cueplayer/cueplayer.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CuePlayer
-# Copyright 2011 Fridrich von Stauffenberg <cancellor2@gmail.com>
+# Copyright 2011-2012 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cueplayer
-VERSION=${VERSION:-0.28}
+VERSION=${VERSION:-svn_251}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,26 +46,24 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
cd $PRGNAM-$VERSION
chown -R root:root .
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
sed -i '/^locale\.path/s/\/usr/\$\$PREFIX/' $PRGNAM.pro
-qmake PREFIX=/usr $PRGNAM.pro
+qmake PREFIX=/usr $PRGNAM.pro
make
-INSTALL_ROOT=$PKG make install
+make INSTALL_ROOT=$PKG install
-mkdir -p $PKG/usr/share/applications
+mkdir -p $PKG/usr/share/{applications,pixmaps}
cat $CWD/$PRGNAM.desktop > $PKG/usr/share/applications/$PRGNAM.desktop
-
-mkdir -p $PKG/usr/share/pixmaps
cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp CHANGELOG INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a CHANGELOG INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install