summaryrefslogtreecommitdiff
path: root/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
diff options
context:
space:
mode:
authorAndrew Strong <andrew.david.52@gmail.com>2010-06-17 16:10:56 -0500
committerErik Hanson <erik@slackbuilds.org>2010-06-17 16:10:56 -0500
commit1cc9f39a44764c5f3b4904de276fed1589c45182 (patch)
tree593086a8bf34f6f01728c8c8bca70f115c3b2fe2 /multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
parentdcd78f43b88c4b233de4384873414c6e6a2aef11 (diff)
downloadslackbuilds-1cc9f39a44764c5f3b4904de276fed1589c45182.tar.gz
multimedia/mkvtoolnix: Updated for version 4.0.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'multimedia/mkvtoolnix/mkvtoolnix.SlackBuild')
-rw-r--r--multimedia/mkvtoolnix/mkvtoolnix.SlackBuild15
1 files changed, 5 insertions, 10 deletions
diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
index 94b5930ce3..141de5a20d 100644
--- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
+++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-# Slackware 13 build script for mkvtoolnix
+# Slackware build script for mkvtoolnix
-# Copyright 2010 Andrew Strong (http://www.andrews-corner.org)
+# Copyright 2008,2009,2010. Andrew Strong (http://www.andrews-corner.org)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mkvtoolnix
-VERSION=3.2.0
+VERSION=4.0.0
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -90,10 +88,8 @@ make pkgdatadir=/usr/doc/$PRGNAM-$VERSION install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# ---> Create 'Desktop' files for mmg and mkvinfo:
mkdir -p $PKG/usr/share/applications
@@ -113,4 +109,3 @@ cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
-