summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d69451adf9870421800946fcab1f2aeffc1bc1d5 (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
# Maintainer: Gabriele Musco <emaildigabry@gmail.com>
# Upstream URL: https://github.com/kurtmckee/listparser
# Modified from Eric BĂ©langer <eric@archlinux.org> PKGBUILD of python-feedparser

pkgname=python-listparser
pkgver=0.18
pkgrel=1
pkgdesc="Parse OPML, FOAF, and iGoogle subscription lists"
arch=('any')
url="https://github.com/kurtmckee/listparser/"
license=('LGPL-3.0')
makedepends=('python-setuptools')
depends=('libxml2' 'python' 'python-requests' 'python-six')
conflicts=('python-listparser-git')
source=("listparser-${pkgver}::git+https://github.com/kurtmckee/listparser#tag=v${pkgver}")
sha256sums=('SKIP')

prepare() {
    cd listparser-${pkgver}
    #2to3 -w listparser.py
}

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