[arch-commits] Commit in wikicurses/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Nov 12 19:53:11 UTC 2020


    Date: Thursday, November 12, 2020 @ 19:53:11
  Author: foutrelis
Revision: 753672

archrelease: copy trunk to community-staging-any

Added:
  wikicurses/repos/community-staging-any/
  wikicurses/repos/community-staging-any/PKGBUILD
    (from rev 753671, wikicurses/trunk/PKGBUILD)

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

Copied: wikicurses/repos/community-staging-any/PKGBUILD (from rev 753671, wikicurses/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-12 19:53:11 UTC (rev 753672)
@@ -0,0 +1,31 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Ian D, Scott <ian at perebruin.com>
+
+pkgname=wikicurses
+pkgver=1.4
+pkgrel=4
+pkgdesc="A simple curses interface for accessing Wikipedia."
+arch=('any')
+url="https://github.com/ids1024/wikicurses"
+license=('MIT')
+depends=('python' 'python-setuptools' 'python-urwid' 'python-beautifulsoup4' 'python-lxml')
+backup=('etc/wikicurses.conf')
+source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/v${pkgver}.tar.gz"
+        "${url}/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz.asc")
+sha256sums=('97ad9590747b99918aca9895fd105914508c9f143c81e77149b0e5dee5410148'
+            'SKIP')
+validpgpkeys=('098BF569A360E234CE2B861A4924E10E199B5959') # Ian D. Scott <ian at perebruin.com>
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+package() {
+  cd "${srcdir}"/${pkgname}-${pkgver}
+
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm644 README.md "${pkgdir}"/usr/share/doc/${pkgname}/README.md
+  install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}


More information about the arch-commits mailing list