summaryrefslogtreecommitdiff
path: root/python3-feedparser/PKGBUILD
blob: 9b82e2ef0db34f1d9090f1480f48de7755d06e53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Based on the offical PKGBUILD for python-feedparser.
# Contributor: Jon Bergli Heier <snakebite@jvnv.net>

pkgname=python3-feedparser
pkgver=4.2pre315
_pkgver=4.1
pkgrel=1
pkgdesc="Universal Feed Parser for Python 3"
arch=('any')
url="http://bitbucket.org/puzzlet/feedparser-py3/"
license=('custom')
depends=('python' 'libxml2' )
source=(http://downloads.sourceforge.net/feedparser/feedparser-${_pkgver}.zip python3.patch)
md5sums=('7ab1140c1e29d4cd52ab20fa7b1f8640'
         '29fe3762cd3e2a97427001844ef2e772')

build() {
  cd ${srcdir}
  patch -p0 -i python3.patch
}

package() {
  cd ${srcdir}
  python setup.py install --root=${pkgdir}
  install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/license
}

# vim:set ts=2 sw=2 et: