summaryrefslogtreecommitdiff
path: root/pcr/python-gnusrss/PKGBUILD
blob: fbd6bebee40f6d05702712faa5477991e8b0c9ce (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.2
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")
sha1sums=('40140194858957d89ed77315affd5e21aa73ebb5')

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

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