[arch-commits] Commit in (4 files)

David Runge dvzrv at archlinux.org
Sat Nov 23 20:09:57 UTC 2019


    Date: Saturday, November 23, 2019 @ 20:09:56
  Author: dvzrv
Revision: 532371

Adding canto-daemon from the AUR as optdepends to qtile.

Added:
  canto-daemon/
  canto-daemon/repos/
  canto-daemon/trunk/
  canto-daemon/trunk/PKGBUILD

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Added: canto-daemon/trunk/PKGBUILD
===================================================================
--- canto-daemon/trunk/PKGBUILD	                        (rev 0)
+++ canto-daemon/trunk/PKGBUILD	2019-11-23 20:09:56 UTC (rev 532371)
@@ -0,0 +1,33 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=Canto
+pkgname=canto-daemon
+pkgver=0.9.7
+pkgrel=2
+pkgdesc="Next-gen console RSS/Atom reader"
+arch=('any')
+url="https://github.com/themoken/canto-next"
+license=('GPL2')
+depends=('python-feedparser')
+makedepends=('python-setuptools')
+optdepends=('python-requests: for inoreader plugin')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('c83a343426de4bf66039a24b17e6931df8b45da99e6f12a2fb1013beb68cc17069760784eb7211c5595362935c653c60df86a3872d42e0fda7caf58a53cf853f')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+}
+
+build() {
+  cd "$pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+  python setup.py install --skip-build \
+                          --optimize=1 \
+                          --prefix=/usr \
+                          --root="${pkgdir}"
+}



More information about the arch-commits mailing list