aboutsummaryrefslogtreecommitdiff
path: root/multimedia/makemkv/makemkv.SlackBuild
diff options
context:
space:
mode:
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 0d6fc412170b..3fa06659cc4f 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