updated on Thu Jan 19 00:16:31 UTC 2012
[aur-mirror.git] / mkvsplitter / PKGBUILD
blob19aca0961d891edfb1d9034e2b0e8b4b0b319257
1 # Contributor: Mladen Pejakovic <pejakm@gmail.com>
3 pkgname=mkvsplitter
4 pkgver=0.3.2
5 pkgdesc="MKVSplitter is a program to split MKV files by their chapter information"
6 pkgrel=1
7 arch=(i686 x86_64)
8 _kdeapps=143782
9 url="http://kde-apps.org/content/show.php?content=${_kdeapps}"
10 license=(GPL)
11 makedepends=('cmake' 'automoc4')
12 depends=('python2' 'python-configobj' 'kdebindings-python' 'mkvtoolnix')
13 optdepends=('mplayer: for previews')
14 options=()
15 source=(http://kde-apps.org/CONTENT/content-files/${_kdeapps}-${pkgname}-${pkgver}.tar.bz2)
16 md5sums=('d940f87ec7842b70ce1f80f59af03f33')
18 package(){
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 '{}' \;