# $Id: PKGBUILD 41916 2009-06-07 23:34:29Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: 03/08/04 <lefungus@altern.org>

pkgname=mkvtoolnix
pkgver=3.4.0
pkgrel=1
pkgdesc="Set of tools to create, edit and inspect Matroska files"
arch=('i686' 'x86_64')
license=('GPL2')
url="http://www.bunkus.org/videotools/mkvtoolnix/index.html"
depends=('libmatroska>=0.9.0' 'libebml>=0.8.0' 'flac>=1.1.4' 'libvorbis' 'wxgtk>=2.8.0.1' 'file' 'boost' 'lzo2')
source=("http://www.bunkus.org/videotools/${pkgname}/sources/${pkgname}-${pkgver}.tar.bz2")

build() {
  cd ${srcdir}/${pkgname}-${pkgver}/
  ./configure --prefix=/usr \
              --with-boost-libdir=/usr/lib
  make  || return 1
  make DESTDIR=${pkgdir}/ install
}
md5sums=('9d9e27adb8dbe42be9636070766e1b64')