# $Id: PKGBUILD 125690 2015-01-09 21:43:20Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: hydro <hydro@freenet.de>

pkgname=mediainfo
pkgver=0.7.72
pkgrel=1
pkgdesc="supplies technical and tag information about a video or audio file"
arch=('i686' 'x86_64')
url="http://mediainfo.sourceforge.net"
license=('GPL')
depends=('libmediainfo')
makedepends=('libtool' 'automake' 'autoconf')
source=(http://downloads.sourceforge.net/mediainfo/${pkgname}_${pkgver}.tar.bz2)
md5sums=('af57c2a85cf87fa8e9e238ee3382b8c2')

build() {
  cd $srcdir/MediaInfo/Project/GNU/CLI
  sh ./autogen
  ./configure --prefix=/usr
  make
}
package() {
  cd $srcdir/MediaInfo/Project/GNU/CLI
  make DESTDIR=$pkgdir install
}
