updated on Thu Jan 19 04:14:35 UTC 2012
[aur-mirror.git] / divxconverter / PKGBUILD
blob775a0fbd90195e80dd6ac67e3fab4762304ee8e1
1 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
2 # Maintainer: Aurélien DESBRIÈRES <ice.cube@gmx.com>
4 pkgname=divxconverter
5 pkgver=2.0.1.1
6 _realver=2.0.1-1
7 pkgrel=3
8 pkgdesc="PyGTK frontend for mencoder to produce hight quality DivX Video"
9 arch=('any')
10 url="http://code.google.com/p/foxoman/wiki/DivXConverter"
11 license=('GPL3')
12 depends=('ffmpegthumbnailer' 'mplayer' 'pygobject' 'pygtk' 'zenity')
13 optdepends=('fribidi: BiDi algorithm implementation for Hebrew and/or Arabic'
14             'ffmpeg2theora: to create the screenshot')
15 source=(http://foxoman.googlecode.com/files/${pkgname}_${_realver}_all.tar.gz)
16 md5sums=('5cf2b67469feedadffec2ba0e378275c')
18 build() {
19   cd "${srcdir}/${pkgname}_${_realver}_all"
21   install -Dm755 usr/bin/divxc "${pkgdir}/usr/bin/divxc" || return 1
22   install -d ${pkgdir}/usr/share
23   # Permits fix
24   chmod 644 usr/share/divx-converter/locale/es_ES.po
25   chmod 644 usr/share/divx-converter/main.glade
26   # Install directories
27   cp -R usr/share/{applications,divx-converter,gnome,icons,pixmaps} "${pkgdir}/usr/share" || return 1