archrelease: copy trunk to extra-x86_64
[arch-packages.git] / python-feedparser / repos / extra-any / PKGBUILD
blob052287d440618aeb83034cb7a1ab4313a74b7e4c
1 # Maintainer: Eric BĂ©langer <eric@archlinux.org>
3 pkgname=python-feedparser
4 pkgver=6.0.10
5 pkgrel=1
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 sha512sums=('92f5608d1a12172bc1524d5c8caa75f1cc1a6d7d3456ecd585e6715209cdff469b775c677b8393e1d1e1a895b857fc3c048c36fb83b215308b707a1f71c6e9d3')
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"