pkgname="mpgtx"
pkgver="1.3.1"
pkgrel=1
arch=('i686')
pkgdesc="mpgtx is a commandline MPEG audio/video/system file toolbox."
url="http://mpgtx.sourceforge.net/"
source=(http://downloads.sourceforge.net/project/mpgtx/mpgtx/$pkgver/mpgtx-$pkgver.tar.gz)
md5sums=('d628060aa04ad3b40a175bf35f5167cf')

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  make || return 1
  make INSTALLDIR=$startdir/pkg/usr/bin MANDIR=$startdir/pkg/usr/man/man1 MANDIRDE=$startdir/usr/man/de/man1 install
}