summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/pymedia/PKGBUILD
blob: a23d441f0774bda60a591dccd241f3ef41430f80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
      }