diff options
author | Fridrich von Stauffenberg <cancellor2@gmail.com> | 2012-06-28 16:32:53 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-06-28 16:32:53 -0400 |
commit | 36cd59f6c8b1e032ff18f9fe735c76a0fe0ff95a (patch) | |
tree | 6efa4ab8754016f0642ae5bbc0097852b9dbf46a /multimedia/cueplayer/cueplayer.SlackBuild | |
parent | 3f68b02fe1e5fa86c9fd2c07fb6d71deddb69c06 (diff) |
multimedia/cueplayer: Updated for version svn_251.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'multimedia/cueplayer/cueplayer.SlackBuild')
-rw-r--r-- | multimedia/cueplayer/cueplayer.SlackBuild | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/multimedia/cueplayer/cueplayer.SlackBuild b/multimedia/cueplayer/cueplayer.SlackBuild index 7ca30ee127e7..eb35a0f69206 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 |