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 sha1sums=('6805ddc738125929de4543859b57e61d3782053d')
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"