#Maintainer: Dimitris Tzemos pkgname=mkvtoolnix-cli pkgver=9.2.0 pkgrel=1dj source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-$pkgver.tar.xz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.bunkus.org/videotools/mkvtoolnix/index.html doinst() { # update the mime desktop database if [ -x /usr/bin/update-desktop-database ]; then /usr/bin/update-desktop-database -q fi # update the mime database if [ -x /usr/bin/update-mime-database ]; then /usr/bin/update-mime-database usr/share/mime > /dev/null 2>&1 fi } slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "MKVToolnix (Matroska tools)" "MKVToolnix is a set of tools to create, alter and inspect Matroska" "files. They do for Matroska what the OGMtools do for the OGM format" "and then some." ) build() { cd $startdir/src/mkvtoolnix-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --disable-qt --build=$arch-slackware-linux ./drake || return 1 ./drake install DESTDIR=$startdir/pkg }