Date: Wednesday, May 17, 2023 @ 22:00:16 Author: antiz Revision: 1463008
upgpkg: pychess 1.0.4-2: Update License and fix URL Modified: pychess/trunk/PKGBUILD ----------+ PKGBUILD | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2023-05-17 21:37:27 UTC (rev 1463007) +++ PKGBUILD 2023-05-17 22:00:16 UTC (rev 1463008) @@ -1,14 +1,15 @@ -# Maintainer: Alexander F. Rødseth <xypr...@archlinux.org> +# Maintainer: Robin Candau <an...@archlinux.org> +# Contributor: Alexander F. Rødseth <xypr...@archlinux.org> # Contributor: Allan McRae <al...@archlinux.org> # Contributor: Alexander Fehr <pizzap...@gmail.com> pkgname=pychess pkgver=1.0.4 -pkgrel=1 +pkgrel=2 pkgdesc='Chess client' arch=(any) -url='https://github.com/pychess/pychess' -license=(GPL) +url='https://pychess.github.io/' +license=(GPL3) depends=(gst-plugins-base gtksourceview3 python-cairo python-gobject python-ptyprocess python-psutil python-sqlalchemy1.3 python-pexpect python-websockets) @@ -15,19 +16,18 @@ # /usr/bin/spike is mistaken for a chess engine conflicts=(spike) makedepends=(python-build python-installer python-setuptools python-wheel) -source=(https://github.com/pychess/pychess/releases/download/$pkgver/pychess-$pkgver.tar.gz) +source=("https://github.com/pychess/pychess/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz") sha256sums=('f563a89404746b037f7b3145100a024b7cad83fe1383ad41f55b216c1d09bc5c') build() { - cd pychess-$pkgver - python -m build --wheel --no-isolation + cd "${pkgname}-${pkgver}" + python -m build --wheel --no-isolation } package() { - cd pychess-$pkgver + cd "${pkgname}-${pkgver}" + python -m installer --destdir="${pkgdir}" dist/*.whl - python -m installer --destdir="$pkgdir" dist/*.whl - - # FS#59882 - find "$pkgdir" -wholename 'external/pexpect' -type d -delete + # FS#59882 + find "${pkgdir}" -wholename 'external/pexpect' -type d -delete }