summaryrefslogtreecommitdiff
path: root/multimedia/smplayer/smplayer.SlackBuild
diff options
context:
space:
mode:
authorFridrich von Stauffenberg <cancellor2@gmail.com>2012-11-19 22:48:54 -0600
committerRobby Workman <rworkman@slackbuilds.org>2012-11-19 22:48:54 -0600
commit93c273a60b00a6b307febba5d2fa1ca3bd088f8c (patch)
treea76c2899da08192274066863436c58e376fc2c1c /multimedia/smplayer/smplayer.SlackBuild
parentbd4473a702dd250079d2af2136b0feaf45e936f1 (diff)
downloadslackbuilds-93c273a60b00a6b307febba5d2fa1ca3bd088f8c.tar.gz
multimedia/smplayer: Updated for version 0.8.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/smplayer/smplayer.SlackBuild')
-rw-r--r--multimedia/smplayer/smplayer.SlackBuild16
1 files changed, 14 insertions, 2 deletions
diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild
index cac937d186..7a1744bb5a 100644
--- a/multimedia/smplayer/smplayer.SlackBuild
+++ b/multimedia/smplayer/smplayer.SlackBuild
@@ -23,10 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smplayer
-VERSION=${VERSION:-0.8.0}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+THEMES=${THEMES:-20120919}
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -71,11 +73,21 @@ sed -i "/^PREFIX/s/=.*$/=\/usr/;
QMAKE_OPTS="QMAKE_CXXFLAGS=\"$SLKCFLAGS\"" \
make
-make DESTDIR=$PKG install
+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
+cd $TMP
+rm -rf $PRGNAM-themes-$THEMES
+tar xvf $CWD/$PRGNAM-themes-$THEMES.tar.bz2
+cd $PRGNAM-themes-$THEMES
+chown -R root:root .
+
+make install PREFIX=/usr DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/themes
+cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION/themes
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install