Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2b621d5b6d | ||
|
|
f7d114e115 | ||
|
|
b4f66f8614 |
5
PKGBUILD
5
PKGBUILD
@@ -4,7 +4,7 @@
|
||||
_name=pygls
|
||||
pkgname=python-pygls
|
||||
pkgver=0.11.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc='Pythonic generic implementation of the Language Server Protocol'
|
||||
arch=('any')
|
||||
url=https://github.com/openlawlibrary/pygls
|
||||
@@ -29,13 +29,12 @@ check() {
|
||||
|
||||
package() {
|
||||
cd $_name-$pkgver
|
||||
export PYTHONHASHSEED=0
|
||||
python -m install --optimize=1 --destdir="$pkgdir" dist/*.whl
|
||||
|
||||
# Symlink license file
|
||||
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
|
||||
install -d "$pkgdir"/usr/share/licenses/$pkgname
|
||||
ln -s $site_packages/$_name-$pkgver.dist-info/LICENSE.txt \
|
||||
ln -s "$site_packages"/$_name-$pkgver.dist-info/LICENSE.txt \
|
||||
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user