[arch-commits] Commit in canto-daemon/repos (community-any community-any/PKGBUILD)
David Runge
dvzrv at archlinux.org
Sat Nov 23 20:11:43 UTC 2019
Date: Saturday, November 23, 2019 @ 20:11:42
Author: dvzrv
Revision: 532374
archrelease: copy trunk to community-any
Added:
canto-daemon/repos/community-any/
canto-daemon/repos/community-any/PKGBUILD
(from rev 532373, canto-daemon/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: canto-daemon/repos/community-any/PKGBUILD (from rev 532373, canto-daemon/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2019-11-23 20:11:42 UTC (rev 532374)
@@ -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