blob: 33f37cb4ea908a9d1a74445a6906db2729a510f6 (
plain)
1 # Description: An implementation of the Language Server Protocol for LaTeX
2 # URL: https://texlab.netlify.app/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: rust
5
6 name=texlab
7 version=5.0.0
8 release=1
9 source=(https://github.com/latex-lsp/texlab/archive/v$version/$name-$version.tar.gz)
10
11 build() {
12 prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
13 [[ ! -e $PKGMK_SOURCE_DIR/rust ]] && mkdir $PKGMK_SOURCE_DIR/rust
14
15 cargo build --release --manifest-path $name-$version/Cargo.toml
16
17 install -Dt $PKG/usr/bin $name-$version/target/release/$name
18 }
|