1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=python-feedparser
6 pkgdesc="Parse RSS and Atom feeds in Python"
8 url="https://github.com/kurtmckee/feedparser/"
10 depends=('libxml2' 'python' 'python-sgmllib3k')
11 makedepends=('python' 'libxml2' 'python-setuptools')
12 source=(feedparser-${pkgver}.tar.gz::https://github.com/kurtmckee/feedparser/archive/${pkgver}.tar.gz)
13 sha512sums=('92f5608d1a12172bc1524d5c8caa75f1cc1a6d7d3456ecd585e6715209cdff469b775c677b8393e1d1e1a895b857fc3c048c36fb83b215308b707a1f71c6e9d3')
16 cd "feedparser-${pkgver}"
21 cd "feedparser-${pkgver}"
22 python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
23 install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/license"