# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
pkgname=mpeg_stat
pkgver=2.2b
pkgrel=2
pkgdesc="A Berkely MPEG Tools bitstream analysis tool."
arch=('i686' 'x86_64')
url="http://bmrc.berkeley.edu/ftp/pub/multimedia/mpeg/"
license=('custom')
depends=('ffmpeg')
source=(http://www.sfr-fresh.com/unix/misc/old/${pkgname}-${pkgver}-src.tar.gz)

build() {
   cd ${srcdir}/${pkgname}

   make || return 1
}
package() {
   cd ${srcdir}/${pkgname}
   install -m755 -D ${srcdir}/mpeg_stat/mpeg_stat ${pkgdir}/usr/bin/mpeg_stat
   install -m644 -D ${srcdir}/mpeg_stat/COPYRIGHT ${pkgdir}/usr/share/licenses/mpeg_stat/COPYRIGHT
}
md5sums=('d0eca3833b76855c4e348b39deaf667d')