updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / makemkv / PKGBUILD
blob047940f2e76e46c0089bf1f1b01b5bf1bc2c31a9
1 # Maintainer: hydro <hydro@freenet.de>
3 pkgname=makemkv
4 pkgver=1.7.0
5 pkgrel=1
6 pkgdesc="convert blu-ray and dvd to mkv"
7 arch=('i686' 'x86_64')
8 url="http://www.makemkv.com"
9 license=('LGPL' 'MPL' 'custom')
10 depends=(qt)
11 install=makemkv.install
12 source=(${url}/download/${pkgname}_v${pkgver}_bin.tar.gz
13         ${url}/download/${pkgname}_v${pkgver}_oss.tar.gz
14         makemkv.desktop)
15 md5sums=('b69e15e3bf89152209e8997c45f78f1b'
16          '855427c210dad895f30033bbee47a8c6'
17          'c893a71b2bd2b39cb70698805a46ec56')
19 build() {
20   cd $srcdir/${pkgname}_v${pkgver}_oss
21   make -f makefile.linux
24 package() {
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
34   else
35     install -D bin/i386/makemkvcon $pkgdir/usr/bin/makemkvcon
36   fi
37   install -d $pkgdir/usr/share/MakeMKV
38   install -t $pkgdir/usr/share/MakeMKV src/share/makemkv_*.mo.gz
39   
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