diff options
author | Tim Biermann <tbier@posteo.de> | 2021-07-02 22:50:10 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-07-02 22:50:10 +0000 |
commit | 4bff88ed4c1c4b705cd7ae0ef769493808cc8f74 (patch) | |
tree | 3b42abafa9dbcad8d7597ab1f3878853b0f42287 /texlab | |
parent | c2b83121a2afb270c9420613bcc09df4c9b3b42c (diff) | |
download | contrib-4bff88ed4c1c4b705cd7ae0ef769493808cc8f74.tar.gz contrib-4bff88ed4c1c4b705cd7ae0ef769493808cc8f74.tar.xz |
texlab: initial commit, version 3.2.0
Diffstat (limited to 'texlab')
-rw-r--r-- | texlab/.footprint | 3 | ||||
-rw-r--r-- | texlab/.signature | 5 | ||||
-rw-r--r-- | texlab/Pkgfile | 19 |
3 files changed, 27 insertions, 0 deletions
diff --git a/texlab/.footprint b/texlab/.footprint new file mode 100644 index 000000000..873c5b86c --- /dev/null +++ b/texlab/.footprint @@ -0,0 +1,3 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/texlab diff --git a/texlab/.signature b/texlab/.signature new file mode 100644 index 000000000..7597274f1 --- /dev/null +++ b/texlab/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF32HMKVjJ6vGgGB/vkVVlDRrELhQhH1bM5lfI8pxRODfOz1FOouiumfoeDRIVLChtnGnBD0EXV/mIAc/Fgn4zCQE= +SHA256 (Pkgfile) = 98c4d34072362ca26841c5254d54ed6d6a14e156414c267032021710c00dae35 +SHA256 (.footprint) = e269bf06cd399613cb5e2df75070c5210b53277a4c1478d41543e6c58a533387 +SHA256 (texlab-3.2.0.tar.gz) = 230fe594ceeb2e64f60776ef00c2674dda5b2e10e960b051536336c94c7523b0 diff --git a/texlab/Pkgfile b/texlab/Pkgfile new file mode 100644 index 000000000..ed8e72412 --- /dev/null +++ b/texlab/Pkgfile @@ -0,0 +1,19 @@ +# Description: An implementation of the Language Server Protocol for LaTeX +# URL: https://texlab.netlify.app/ +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: rust + +name=texlab +version=3.2.0 +release=1 +source=(https://github.com/latex-lsp/texlab/archive/v$version/$name-$version.tar.gz) + +build() { + prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache + mkdir "$PKGMK_SOURCE_DIR/rust" || true + export CARGO_HOME="$PKGMK_SOURCE_DIR/rust" + + cargo fetch --manifest-path $name-$version/Cargo.toml + cargo build --release --locked --manifest-path $name-$version/Cargo.toml + install -Dt $PKG/usr/bin $name-$version/target/release/texlab +} |