archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-feedparser / trunk / PKGBUILD
blob88cf3e62996d68294c06c9dd3cfce88409717523
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=python-feedparser
4 pkgver=6.0.1
5 pkgrel=4
6 pkgdesc="Parse RSS and Atom feeds in Python"
7 arch=('any')
8 url="https://github.com/kurtmckee/feedparser/"
9 license=('custom')
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')
15 build() {
16   cd "feedparser-${pkgver}"
17   python setup.py build
20 package() {
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"