summaryrefslogtreecommitdiff
path: root/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
diff options
context:
space:
mode:
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}
-