summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 82623e5cd05739ab51eedc9c01c62f34c9f59f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Asuka Minato <i at asukaminato dot eu dot org>
pkgname=delance-langserver
pkgver="2024.3.101"
pkgrel=1
pkgdesc="A spear to the Python language server built with black magic"
arch=(any)
url="https://sr.ht/~self/delance/"
license=('0BSD')
depends=(nodejs bun python python-numpy python-pytest)
makedepends=(npm)
source=(
	"https://registry.npmjs.org/@delance/runtime/-/runtime-$pkgver.tgz"
	LICENSE)
sha256sums=('bb90ce57f8870cb0f3c77a5b63b22b11c614f1509e25990f3aab84ae11d2a7ae'
            '626d62ef9499736b56c6774916636834ffb0990f460691bbea3cbe072c208449')

package() {
	npm install -g --prefix "${pkgdir}/usr" "$srcdir/runtime-$pkgver.tgz"
	install -vDm644 LICENSE -t $pkgdir/usr/share/licenses/$pkgname/
}