core/python-feedparser/PKGBUILD
2010-12-19 00:39:38 +00:00

31 lines
901 B
Bash

#
# Platform Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=python-feedparser
pkgver=4.1
pkgrel=2
pkgdesc="Parse RSS and Atom feeds in Python"
arch=('any')
url="http://feedparser.sf.net"
license=('custom')
depends=('python2' '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
python2 setup.py build
python2 setup.py install --root=${pkgdir}
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license
}