[arch-commits] Commit in wikicurses/trunk (PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Sat Jan 15 08:05:08 UTC 2022
Date: Saturday, January 15, 2022 @ 08:05:07
Author: grawlinson
Revision: 1104092
upgpkg: wikicurses 1.4-6; setuptools todo rebuild
Move python-setuptools to makedepends as it is not
required at runtime.
Modified:
wikicurses/trunk/PKGBUILD
----------+
PKGBUILD | 44 +++++++++++++++++++++++++++++++-------------
1 file changed, 31 insertions(+), 13 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-01-15 07:44:25 UTC (rev 1104091)
+++ PKGBUILD 2022-01-15 08:05:07 UTC (rev 1104092)
@@ -1,31 +1,49 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Eli Schwartz <eschwartz at archlinux.org>
# Contributor: Ian D, Scott <ian at perebruin.com>
pkgname=wikicurses
pkgver=1.4
-pkgrel=5
-pkgdesc="A simple curses interface for accessing Wikipedia."
+pkgrel=6
+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')
+depends=(
+ 'python'
+ 'python-urwid'
+ 'python-beautifulsoup4'
+ 'python-lxml'
+)
+makedepends=('python-setuptools')
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'
+source=(
+ "$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
+ "$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz.asc"
+)
+sha512sums=('9473c01e58b70f4ea92b9615ed4f437139a2463a5b712209e2091425e9c5ee967f23f6703d7d2548162e94ccace99273cec41ed139a4d49c8e7063ff303ab063'
'SKIP')
+b2sums=('d9ca4feefbfae42dd1431ad2cc48a149186e1351676a826e70c878f0f04f50107962c80b4a6eaa4c9449df80321a1023049ff1c7a9527fa12ecc3054e2bfc45e'
+ 'SKIP')
validpgpkeys=('098BF569A360E234CE2B861A4924E10E199B5959') # Ian D. Scott <ian at perebruin.com>
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd "$pkgname-$pkgver"
- python setup.py build
+ python setup.py build
}
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd "$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
+ python setup.py install \
+ --root="${pkgdir}" \
+ --optimize=1 \
+ --skip-build
+
+ # documentation
+ install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+ # license
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
}
More information about the arch-commits
mailing list