# 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 $startdir/src/mpeg_stat
make || return 1
install -m755 -D $startdir/src/mpeg_stat/mpeg_stat $startdir/pkg/usr/bin/mpeg_stat
install -m644 -D $startdir/src/mpeg_stat/COPYRIGHT $startdir/pkg/usr/share/licenses/mpeg_stat/COPYRIGHT
}