desktop/python2-feedparser/PKGBUILD
Daniele 64ef451278 Fixing the python2-feedparser PKGBUILD.
A wrong naming of the build() routine made so that the package was actually empty, thus useless.
2012-09-08 17:14:21 +00:00

33 lines
922 B
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrian Chaves Fernandez (Gallaecio) <adriyetichaves@gmail.com>
_pkgname=feedparser
pkgname="python2-${_pkgname}"
pkgver=5.1.2
pkgrel=2
pkgdesc="feedparser is a Python library that parses feeds in all known formats, including Atom, RSS, and RDF."
arch=('any')
url="http://code.google.com/p/feedparser/"
license=(MIT)
depends=('python2' 'libxml2' )
makedepends=('python-distribute')
replaces=('python-feedparser')
provides=('python-feedparser')
source=("http://${_pkgname}.googlecode.com/files/${_pkgname}-${pkgver}.tar.bz2")
md5sums=('9f88692c7c1af1d47839eb2025984975')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py build
}
package() {
cd "${srcdir}/${_pkgname}-${pkgver}"
python2 setup.py install --root="${pkgdir}"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
# vim:set ts=2 sw=2 et: