[arch-commits] Commit in canto-curses/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu Nov 12 17:11:06 UTC 2020
Date: Thursday, November 12, 2020 @ 17:11:06
Author: foutrelis
Revision: 752317
archrelease: copy trunk to community-staging-x86_64
Added:
canto-curses/repos/community-staging-x86_64/
canto-curses/repos/community-staging-x86_64/PKGBUILD
(from rev 752316, canto-curses/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: canto-curses/repos/community-staging-x86_64/PKGBUILD (from rev 752316, canto-curses/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-12 17:11:06 UTC (rev 752317)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=Canto-curses
+pkgname=canto-curses
+pkgver=0.9.9
+pkgrel=3
+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