1 # Contributor: Mladen Pejakovic <pejakm@gmail.com>
5 pkgdesc="MKVSplitter is a program to split MKV files by their chapter information"
9 url="http://kde-apps.org/content/show.php?content=${_kdeapps}"
11 makedepends=('cmake' 'automoc4')
12 depends=('python2' 'python-configobj' 'kdebindings-python' 'mkvtoolnix')
13 optdepends=('mplayer: for previews')
15 source=(http://kde-apps.org/CONTENT/content-files/${_kdeapps}-${pkgname}-${pkgver}.tar.bz2)
16 md5sums=('d940f87ec7842b70ce1f80f59af03f33')
19 cd ${srcdir}/${pkgname}
20 install -m755 -d "${pkgdir}/usr/lib/mkvsplitter/"
21 install -m755 -d "${pkgdir}/usr/bin/"
22 install -m755 * "${pkgdir}/usr/lib/mkvsplitter/"
23 ln -s "/usr/lib/mkvsplitter/mkvsplitter.py" "${pkgdir}/usr/bin/mkvsplitter"
24 rm -rf "${pkgdir}/usr/lib/mkvsplitter/configobj.py"
25 find ${pkgdir}/ -name "*.pyc" -type f -exec rm -fr '{}' \;