summaryrefslogtreecommitdiff
path: root/pcr/python-hypersocial/PKGBUILD
blob: d302cf45907dccf3f656b932abf437c22a3c2289 (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: David P. <megver83@hyperbola.info>
# Contributor: André Silva <emulatorman@hyperbola.info>

_name=hypersocial
pkgname=python-${_name}
pkgver=0.2.2.2
pkgrel=1
pkgdesc="Python program to post RSS to GNU Social & Pump.io (gnusrss and spigot fork)"
arch=('any')
url="https://git.hyperbola.info:50100/services/hypersocial.git/"
license=('GPL')
depends=('python-feedparser' 'python-pycurl' 'sqlite' 'python-pypump' 'python-requests' 'python-argparse')
makedepends=('python-setuptools')
conflicts=('python-gnusrss')
provides=('python-gnusrss')
source=("https://git.hyperbola.info:50100/services/${_name}.git/plain/releases/${_name}-${pkgver}.tar.gz"{,.sig})
sha512sums=('87f41a72c77de2140759d8d626c09105ea81dde13c22bb1d9535d36e2f5170e43890903b06ec6469c00e24be7fd0972002383d90c036219577cc4d4e85fdd9aa'
            'SKIP')
validpgpkeys=('6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78') # David P.

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

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