# shellcheck shell=bash disable=SC2034,SC2154 _pkgname=sublime-syntax-language-server pkgname="python-$_pkgname" pkgver=0.0.1 pkgrel=1 pkgdesc="sublime-syntax language server" arch=(any) url=https://github.com/Freed-Wu/sublime-syntax-language-server depends=(python-pygls python-platformdirs) optdepends=(python-beautifulsoup4) makedepends=(python-installer) license=(GPL3) _py=py3 source=("https://files.pythonhosted.org/packages/$_py/${_pkgname::1}/${_pkgname//-/_}/${_pkgname//-/_}-$pkgver-$_py-none-any.whl") sha256sums=('5bfac296c540d6b1236e07d6b8c6095059118bafed78775249cb126ca8c59737') package() { python -m installer -d "$pkgdir" ./*.whl }