aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
diff options
context:
space:
mode:
authorOzan Turkyilmaz <ozan.turkyilmaz@gmail.com>2018-10-19 13:40:11 +0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-20 21:09:10 +0700
commit2952d214f2d3384add7a5f36751cc233716ad7f5 (patch)
tree7165a2b69745b181733287a57ccaf8af3ae25b81 /multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
parent894d1e385ad028fef7a96846bb2745065f824480 (diff)
multimedia/mkvtoolnix: Make use the examples and man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/mkvtoolnix/mkvtoolnix.SlackBuild')
-rw-r--r--multimedia/mkvtoolnix/mkvtoolnix.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
index b562bf202fe82..05b885583f5c3 100644
--- a/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
+++ b/multimedia/mkvtoolnix/mkvtoolnix.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=mkvtoolnix
VERSION=${VERSION:-27.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -79,6 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--localstatedir=/var \
--enable-qt=${QTGUI:-no} \
+ --docdir=/usr/$PRGNAM-$VERSION \
+ --htmldir=/usr/$PRGNAM-$VERSION \
--with-boost
rake pkgdatadir=/usr/doc/$PRGNAM-$VERSION
@@ -98,5 +100,8 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+#move examples
+mv $TMP/$PRGNAM-$VERSION/examples $PKG/usr/doc/$PRGNAM-$VERSION
+
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}