aboutsummaryrefslogtreecommitdiff
path: root/multimedia/makemkv/makemkv.SlackBuild
diff options
context:
space:
mode:
authorT3slider <t3slider@gmail.com>2012-02-21 11:26:51 -0200
committerErik Hanson <erik@slackbuilds.org>2012-03-29 10:17:25 -0500
commitcd73a16d181616534df3d09e9503dd23e5425619 (patch)
treef508b9e3e209936be4d10f8bc2c9da28453aaad6 /multimedia/makemkv/makemkv.SlackBuild
parentcd4619202ccf38d8567ea72bec431f922b8fbf3f (diff)
multimedia/makemkv: Updated for version 1.7.2.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'multimedia/makemkv/makemkv.SlackBuild')
-rw-r--r--multimedia/makemkv/makemkv.SlackBuild15
1 files changed, 3 insertions, 12 deletions
diff --git a/multimedia/makemkv/makemkv.SlackBuild b/multimedia/makemkv/makemkv.SlackBuild
index 0d6fc412170bb..3fa06659cc4f7 100644
--- a/multimedia/makemkv/makemkv.SlackBuild
+++ b/multimedia/makemkv/makemkv.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=makemkv
-VERSION=${VERSION:-1.7.0}
+VERSION=${VERSION:-1.7.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,16 +70,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix up the makefile...
-sed -i "s|/usr/lib|&${LIBDIRSUFFIX}|g" makefile.linux
-# The makefile now supports DESTDIR but they forgot to create the lib[64] dir...
-install -d $PKG/usr/lib${LIBDIRSUFFIX}
+# The makefile looks good now, but we'll define LIBDIR...
make -f makefile.linux
-make -f makefile.linux install DESTDIR=$PKG
-for i in 16 22 32 64 128
-do
- install -D -m 0644 makemkvgui/src/img/${i}/mkv_icon.png $PKG/usr/share/icons/hicolor/${i}x${i}/apps/makemkv.png
-done
+make -f makefile.linux install LIBDIR="\${PREFIX}/lib${LIBDIRSUFFIX}" DESTDIR=$PKG
# Now extract/copy the closed source component...
cd $TMP
@@ -108,8 +101,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
src/eula_en_linux.txt \
$PKG/usr/doc/$PRGNAM-$VERSION
-mkdir -p $PKG/usr/share/applications
-cat $CWD/makemkv.desktop > $PKG/usr/share/applications/makemkv.desktop
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install