# $Id: PKGBUILD 31085 2009-03-24 09:37:08Z douglas $ # Maintainer: Allan McRae # Contributor: Simo Leone pkgname=python-feedparser pkgver=4.1 pkgrel=4 pkgdesc="Parse RSS and Atom feeds in Python" arch=('i686' 'x86_64') url="http://feedparser.sf.net" license=('custom') depends=('python' 'libxml2' ) source=(http://downloads.sourceforge.net/feedparser/feedparser-${pkgver}.zip feedparser_utf8_decoding.patch) md5sums=('7ab1140c1e29d4cd52ab20fa7b1f8640' '1412caa1577260945df5ef0f5efabc62') build() { cd ${srcdir} patch -Np0 -i feedparser_utf8_decoding.patch python setup.py build python setup.py install --root=${pkgdir} install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license }