diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 00:35:11 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:35:11 +0200 |
commit | 29cbfde556388340ad762b0b88cc2d880091f55b (patch) | |
tree | b7a4e76d31170dd6a2521b387a188abe29e7c5e1 /multimedia/smplayer/smplayer.SlackBuild | |
parent | 53da32d20684c84365e19e7e96f9decb4b381b36 (diff) |
multimedia/smplayer: Updated for version 0.6.8
Diffstat (limited to 'multimedia/smplayer/smplayer.SlackBuild')
-rw-r--r-- | multimedia/smplayer/smplayer.SlackBuild | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild index f684a9fe0f79..a4299135e97b 100644 --- a/multimedia/smplayer/smplayer.SlackBuild +++ b/multimedia/smplayer/smplayer.SlackBuild @@ -1,12 +1,31 @@ #!/bin/sh # Slackware build script for SMPlayer -# Written by Erik Hanson erik@slackbuilds.org + +# Copyright 2009 Erik W. Hanson, Minneapolis, MN, USA +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=smplayer -VERSION=${VERSION:-0.6.7} +VERSION=${VERSION:-0.6.8} ARCH=${ARCH:-i486} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Optional theme versions: @@ -37,8 +56,8 @@ find . \ sed -i "s%share/doc/packages/smplayer%doc/$PRGNAM-$VERSION%" Makefile sed -i "s%^CONF_PREFIX%#CONF_PREFIX%" Makefile -make QMAKE=qmake-qt4 PREFIX=/usr -make QMAKE=qmake-qt4 PREFIX=/usr DESTDIR=$PKG install +make PREFIX=/usr +make PREFIX=/usr DESTDIR=$PKG install strip --strip-unneeded $PKG/usr/bin/* @@ -71,5 +90,10 @@ if [ -r $CWD/smplayer-themes-nonfree-$NONFVER.tar.bz2 ] ; then make PREFIX=/usr DESTDIR=$PKG install fi +# Fix theme permissions. +if [ -d $PKG/usr/share/smplayer/themes/ ] ; then + chown -R root:root $PKG/usr/share/smplayer/themes/ +fi + cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |