summaryrefslogtreecommitdiff
path: root/community/pyvorbis/PKGBUILD
blob: 83ce3a8eb20c270173ab821c6faa9e5bd2d64258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $Id: PKGBUILD 89168 2010-08-29 17:00:16Z remy $
# Contributor: Jason Chu <jason@archlinux.org>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=pyvorbis
pkgver=1.4
pkgrel=5
pkgdesc="Python vorbis wrapper library"
url="http://www.andrewchatham.com/pyogg/"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('python2' 'libvorbis' 'pyogg>=1.3-3')
source=(http://ekyo.nerim.net/software/pyogg/${pkgname}-${pkgver}.tar.gz
	pyvorbis-1.4-python2.5.patch
	pyogg-ticket2-fix.patch)
md5sums=('b4921e792c0a74f75b9d3057df10ee7c'
	 'f971a6f0ebb6cb7fe00dfc1f778b2d0d'
	 '3547bba78916ef9030bff6fe67194714')

build() {
	cd ${srcdir}/${pkgname}-${pkgver}
	patch -Np0 -i ${srcdir}/pyvorbis-1.4-python2.5.patch || return 1
	patch -Np0 -i ${srcdir}/pyogg-ticket2-fix.patch || return 1
	python2 ./config_unix.py --prefix=/usr
}

package() {
	cd ${srcdir}/${pkgname}-${pkgver}
	python2 setup.py install --root=${pkgdir}
}