# Maintainer: Blair Bonnett pkgname=jupyterlab-language-pack-de-de pkgdesc='German (Germany) language pack for JupyterLab' url='https://github.com/jupyterlab/language-packs/tree/master/language-packs/jupyterlab-language-pack-de-DE' pkgver=4.1.post2 pkgrel=1 arch=('any') license=('BSD-3-Clause') makedepends=('jupyterlab-translate' 'python-build' 'python-hatchling' 'python-installer') _pypi=jupyterlab_language_pack_de_de source=( "https://files.pythonhosted.org/packages/source/${_pypi::1}/$_pypi/$_pypi-$pkgver.tar.gz" ) sha256sums=( '8e04a53676f37e9e977c4bd2d67df49ba4fbb53f74b6709deb8224fa5113908b' ) build() { cd "$_pypi-$pkgver" python -m build --wheel --no-isolation } package() { cd "$_pypi-$pkgver" python -m installer --destdir="$pkgdir" dist/*.whl install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname" }