summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/python-hypersocial/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/python-hypersocial/PKGBUILD b/pcr/python-hypersocial/PKGBUILD
new file mode 100644
index 000000000..0d7644511
--- /dev/null
+++ b/pcr/python-hypersocial/PKGBUILD
@@ -0,0 +1,29 @@
+# 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}
+ 'update.patch')
+sha512sums=('87f41a72c77de2140759d8d626c09105ea81dde13c22bb1d9535d36e2f5170e43890903b06ec6469c00e24be7fd0972002383d90c036219577cc4d4e85fdd9aa'
+ 'SKIP'
+ '0b3ff776c051e652c6859fb89658062d90bd474631631a15661e5c1128f1c22be898eb940c2b45e1a091d35aff9b9e93ebb1299bc3c6ebc99685e91e063bbbd9')
+validpgpkeys=('6DB9C4B4F0D8C0DC432CF6E4227CA7C556B2BA78') # David P.
+
+package() {
+ cd "${srcdir}"
+ python setup.py install --root="${pkgdir}/" --optimize=1
+
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+