[arch-commits] Commit in canto-daemon/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 04:02:19 UTC 2020
Date: Tuesday, November 10, 2020 @ 04:02:19
Author: felixonmars
Revision: 748388
archrelease: copy trunk to community-staging-any
Added:
canto-daemon/repos/community-staging-any/
canto-daemon/repos/community-staging-any/PKGBUILD
(from rev 748387, canto-daemon/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: canto-daemon/repos/community-staging-any/PKGBUILD (from rev 748387, canto-daemon/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 04:02:19 UTC (rev 748388)
@@ -0,0 +1,33 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=Canto
+pkgname=canto-daemon
+pkgver=0.9.7
+pkgrel=3
+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