#Maintainer: George Vlahavas (vlahavas~at~gmail~dot~com) pkgname=mkvtoolnix pkgver=3.3.0 pkgrel=2gv source=("http://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-$pkgver.tar.bz2" "mmg.desktop" "icons.tar.gz") docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://www.bunkus.org/videotools/mkvtoolnix/index.html 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/$pkgname-$pkgver ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg mkdir -p $startdir/pkg/usr/share/applications cp $startdir/src/mmg.desktop $startdir/pkg/usr/share/applications/ # Copy icons to the right place ICONSIZES="48 32 24 22 16" for i in $ICONSIZES; do mkdir -p $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps; mv $startdir/src/$pkgname-$i.png $startdir/pkg/usr/share/icons/hicolor/$i\x$i/apps/$pkgname.png; done; }