summaryrefslogtreecommitdiff
path: root/multimedia/smplayer/smplayer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/smplayer/smplayer.SlackBuild')
-rw-r--r--multimedia/smplayer/smplayer.SlackBuild19
1 files changed, 17 insertions, 2 deletions
diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild
index 7a1744bb5a..39752b8796 100644
--- a/multimedia/smplayer/smplayer.SlackBuild
+++ b/multimedia/smplayer/smplayer.SlackBuild
@@ -23,11 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=smplayer
-VERSION=${VERSION:-0.8.1}
+VERSION=${VERSION:-0.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
THEMES=${THEMES:-20120919}
+SKINS=${SKINS:-20121029}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -78,6 +79,10 @@ 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
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
cd $TMP
rm -rf $PRGNAM-themes-$THEMES
tar xvf $CWD/$PRGNAM-themes-$THEMES.tar.bz2
@@ -88,7 +93,17 @@ 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
+
+cd $TMP
+rm -rf $PRGNAM-skins-$SKINS
+tar xvf $CWD/$PRGNAM-skins-$SKINS.tar.bz2
+cd $PRGNAM-skins-$SKINS
+chown -R root:root .
+
+make install PREFIX=/usr DESTDIR=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/skins
+cp -a *.txt Changelog $PKG/usr/doc/$PRGNAM-$VERSION/skins
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc