# $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.3.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.8.1' '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=('a002b6537e4515b6a0b26f42e8a2eb9a')