makedeb


ltex-ls-bin 15.2.0-1


LTeX Language Server: LSP language server for LanguageTool with support for LaTeX, Markdown, and others

Click here to go back to the commit logs for ltex-ls-bin.

Commit:


Hash: 23d7add4f6011210e109bfdb2dd16a5d0f54726e

Message: upgpkg: ltex-ls-bin 15.0.0-2 Add missing binaries and json

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 30e334c..dc4743e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
 pkgbase = ltex-ls-bin
 	pkgdesc = LTeX Language Server: LSP language server for LanguageTool with support for LaTeX, Markdown, and others
 	pkgver = 15.0.0
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/valentjn/ltex-ls
 	arch = x86_64
 	license = Mozilla Public License 2.0
diff --git a/PKGBUILD b/PKGBUILD
index 52ad7bc..75ac9e6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 
 pkgname=ltex-ls-bin
 pkgver=15.0.0
-pkgrel=1
+pkgrel=2
 pkgdesc="LTeX Language Server: LSP language server for LanguageTool with support for LaTeX, Markdown, and others "
 _filename="${pkgname%-bin}-${pkgver}"
 arch=('x86_64')
@@ -17,12 +17,16 @@ sha256sums=('f017b00219ad5ba520ed08f9b0509c13714c5a19da266adadeeebd67b464e1de')
 package() {
     echo "Copying executable files to /opt/${pkgname%-bin}"
     mkdir -p "$pkgdir"/opt/${pkgname%-bin}/{bin,lib}
-    install -Dm755 "${_filename}/bin/${pkgname%-bin}" "$pkgdir/opt/${pkgname%-bin}/bin/"
+    install -Dm755 "${_filename}/bin/ltex-ls" "$pkgdir/opt/${pkgname%-bin}/bin/"
+    install -Dm755 "${_filename}/bin/ltex-cli" "$pkgdir/opt/${pkgname%-bin}/bin/"
+    install -Dm755 "${_filename}/bin/.lsp-cli.json" "$pkgdir/opt/${pkgname%-bin}/bin/"
     cp -r "${_filename}/lib/" "$pkgdir/opt/${pkgname%-bin}/"
 
     echo "Making symlink for executables"
     mkdir -p "$pkgdir/usr/bin"
-    ln -s "/opt/${pkgname%-bin}/bin/${pkgname%-bin}" "$pkgdir/usr/bin/${pkgname%-bin}"
+    ln -s "/opt/${pkgname%-bin}/bin/ltex-ls" "$pkgdir/usr/bin/"
+    ln -s "/opt/${pkgname%-bin}/bin/ltex-cli" "$pkgdir/usr/bin/"
+    ln -s "/opt/${pkgname%-bin}/bin/.lsp-cli.json" "$pkgdir/usr/bin/"
 
     echo "Copying misc. files"
     install -Dm644 "${_filename}/LICENSE.md" "$pkgdir/opt/${pkgname%-bin}/share/licenses/${pkgname%-bin}/LICENSE.md"