1 # Maintainer: hydro <hydro@freenet.de>
6 pkgdesc="convert blu-ray and dvd to mkv"
8 url="http://www.makemkv.com"
9 license=('LGPL' 'MPL' 'custom')
11 install=makemkv.install
12 source=(${url}/download/${pkgname}_v${pkgver}_bin.tar.gz
13 ${url}/download/${pkgname}_v${pkgver}_oss.tar.gz
15 md5sums=('b69e15e3bf89152209e8997c45f78f1b'
16 '855427c210dad895f30033bbee47a8c6'
17 'c893a71b2bd2b39cb70698805a46ec56')
20 cd $srcdir/${pkgname}_v${pkgver}_oss
21 make -f makefile.linux
25 cd $srcdir/${pkgname}_v${pkgver}_oss
26 install -d $pkgdir/usr/lib
27 install -t $pkgdir/usr/lib out/libdriveio.so.0 out/libmakemkv.so.1
28 install -D out/makemkv $pkgdir/usr/bin/makemkv
29 install -Dm 644 makemkvgui/src/img/128/mkv_icon.png $pkgdir/usr/share/pixmaps/makemkv.png
31 cd $srcdir/${pkgname}_v${pkgver}_bin
32 if [ "$CARCH" = "x86_64" ]; then
33 install -D bin/amd64/makemkvcon $pkgdir/usr/bin/makemkvcon
35 install -D bin/i386/makemkvcon $pkgdir/usr/bin/makemkvcon
37 install -d $pkgdir/usr/share/MakeMKV
38 install -t $pkgdir/usr/share/MakeMKV src/share/makemkv_*.mo.gz
40 install -Dm 644 $srcdir/makemkv.desktop $pkgdir/usr/share/applications/makemkv.desktop
41 install -Dm 644 src/eula_en_linux.txt $pkgdir/usr/share/licenses/$pkgname/eula_en_linux.txt