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

Eli Schwartz eschwartz at archlinux.org
Thu Jul 19 23:52:06 UTC 2018


    Date: Thursday, July 19, 2018 @ 23:52:05
  Author: eschwartz
Revision: 362465

archrelease: copy trunk to community-staging-any

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

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

Copied: wikicurses/repos/community-staging-any/PKGBUILD (from rev 362464, wikicurses/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2018-07-19 23:52:05 UTC (rev 362465)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Ian D, Scott <ian at perebruin.com>
+
+pkgname=wikicurses
+pkgver=1.4
+pkgrel=2
+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