summaryrefslogtreecommitdiff
path: root/pcr/python-gnusrss/PKGBUILD
blob: c4a9215cf2082f99c320d6a5eca8eb6870d0bfd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>

_name=gnusrss
pkgname=python-${_name}
pkgver=0.2.2.1
pkgrel=1
pkgdesc="Python program to post RSS to GNU Social"
arch=('any')
url="http://daemons.cf/cgit/gnusrss/"
license=('GPL')
depends=('python-feedparser' 'python-pycurl' 'sqlite')
makedepends=('python-setuptools')
source=("http://daemons.cf/cgit/${_name}/snapshot/${_name}-${pkgver}.tar.gz")
md5sums=('71f1740c492c1dd26a337e2384ac4d8d')

package() {
  cd "${srcdir}/${_name}-${pkgver}"
  python setup.py install --root="${pkgdir}/" --optimize=1

  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}