Date: Saturday, April 8, 2023 @ 04:10:34
  Author: felixonmars
Revision: 1441714

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 1441712, canto-curses/trunk/PKGBUILD)

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

Copied: canto-curses/repos/community-staging-x86_64/PKGBUILD (from rev 1441712, 
canto-curses/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2023-04-08 04:10:34 UTC (rev 1441714)
@@ -0,0 +1,32 @@
+# Maintainer: David Runge <dv...@archlinux.org>
+
+_name=Canto-curses
+pkgname=canto-curses
+pkgver=0.9.9
+pkgrel=5
+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}"
+}

Reply via email to