[crux-commits] ports/contrib (3.6): texlab: initial commit, version 3.2.0

crux at crux.nu crux at crux.nu
Fri Jul 2 23:39:17 UTC 2021


commit 4bff88ed4c1c4b705cd7ae0ef769493808cc8f74
Author: Tim Biermann <tbier at posteo.de>
Date:   Fri Jul 2 22:50:10 2021 +0000

    texlab: initial commit, version 3.2.0

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
+}


More information about the crux-commits mailing list