# Contributor: Nick B <Shirakawasuna at gmail _dot_com>
pkgname=dpgconv
pkgver=9
pkgrel=1
pkgdesc="This is a converter to produce DPG movies for Moonshell software for Nintendo DS."
arch=('i686' 'x86_64')
url="http://theli.is-a-geek.org/blog/static/dpgconv"
license=('GPL2')
depends=('mpeg_stat' 'mplayer')
source=(http://theli.is-a-geek.org/files/dpgconv/dpgconv-$pkgver.py.bz2
	dpgconv-panscan.patch)

build() {

cd $startdir/src
patch < dpgconv-panscan.patch
install -m755 -D $startdir/src/dpgconv-$pkgver.py $startdir/pkg/usr/bin/dpgconv-$pkgver.py
cd $startdir/pkg/usr/bin
ln -s dpgconv-$pkgver.py dpgconv.py
}
md5sums=('fa61ceb4ebb241e98fc005aed86406e5')