[arch-commits] Commit in canto-curses/repos (2 files)
David Runge
dvzrv at archlinux.org
Sat Nov 23 20:40:18 UTC 2019
Date: Saturday, November 23, 2019 @ 20:40:17
Author: dvzrv
Revision: 532378
archrelease: copy trunk to community-x86_64
Added:
canto-curses/repos/community-x86_64/
canto-curses/repos/community-x86_64/PKGBUILD
(from rev 532377, canto-curses/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: canto-curses/repos/community-x86_64/PKGBUILD (from rev 532377, canto-curses/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2019-11-23 20:40:17 UTC (rev 532378)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=Canto-curses
+pkgname=canto-curses
+pkgver=0.9.9
+pkgrel=2
+pkgdesc="Next-gen console RSS/Atom reader"
+arch=('x86_64')
+url="https://github.com/themoken/canto-curses"
+license=('GPL2')
+depends=('canto-daemon' 'glibc' 'libncursesw.so' 'libreadline.so' 'python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('cf476f67d6b7de9dcaf742dc983310a1ecfb324d7b104748a6fd9406821a02e36270c175b85e9bcb5c03b7ca0df25d49d306882500b0a8699b2bd0367756be9b')
+
+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