pkgname=python-pymedia pkgver=1.3.5.0 pkgrel=1 pkgdesc="A Python library for accessing and manipulating media files" url="http://www.pymedia.org" license="" depends=('libvorbis' 'faad2' 'lame') makedepends=('python>=2.3') replaces=('pymedia') provides=('pymedia') arch=i686 source=(http://easynews.dl.sourceforge.net/sourceforge/pymedia/pymedia-$pkgver.tar.gz) md5sums=('3b9efcd105707c6696579e3ca8852d0e') build() { cd $startdir/src/pymedia-$pkgver sed -i -e "s:/usr/local/include/lame:/usr/include/lame:g" setup.py yes "" | python setup.py install --root=$startdir/pkg --prefix=/usr }