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: cd9f70ee3cad66992e0535857ec7f8e9c83b8d06

Message: upgpkg: ltex-ls-bin 13.0.0-2 Replace msg2 with echo

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 3229d85..81fbbdc 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 = 13.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 3eba759..3baf89e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,32 +2,31 @@
 
 pkgname=ltex-ls-bin
 pkgver=13.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}"
+_filename="${pkgname%-bin}-${pkgver}"
 arch=('x86_64')
 url="https://github.com/valentjn/${pkgname%-bin}"
 license=('Mozilla Public License 2.0')
 depends=('java-runtime-headless')
 provides=("${pkgname%-bin}")
 conflicts=("${pkgname%-bin}")
-source=("$url/releases/download/$pkgver/${filename}.tar.gz")
+source=("$url/releases/download/$pkgver/${_filename}.tar.gz")
 sha256sums=('0835d9ff9da1b04f32533896605465ff914dbbde6ebc4bad0c95184e40fb2f82')
 
 package() {
-    msg2 "Copying executable files to /opt/${pkgname%-bin}"
+    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/"
-    cp -r "${filename}/lib/" "$pkgdir/opt/${pkgname%-bin}/"
+    install -Dm755 "${_filename}/bin/${pkgname%-bin}" "$pkgdir/opt/${pkgname%-bin}/bin/"
+    cp -r "${_filename}/lib/" "$pkgdir/opt/${pkgname%-bin}/"
 
-    msg2 "Making symlink for executables"
+    echo "Making symlink for executables"
     mkdir -p "$pkgdir/usr/bin"
     ln -s "/opt/${pkgname%-bin}/bin/${pkgname%-bin}" "$pkgdir/usr/bin/${pkgname%-bin}"
 
-    msg2 "Copying misc. files"
-    install -Dm644 "${filename}/LICENSE.md" "$pkgdir/opt/${pkgname%-bin}/share/licenses/${pkgname%-bin}/LICENSE.md"
-    install -Dm644 "${filename}/ACKNOWLEDGMENTS.md" "$pkgdir/opt/${pkgname%-bin}/share/licenses/${pkgname%-bin}/ACKNOWLEDGMENTS.md"
-
+    echo "Copying misc. files"
+    install -Dm644 "${_filename}/LICENSE.md" "$pkgdir/opt/${pkgname%-bin}/share/licenses/${pkgname%-bin}/LICENSE.md"
+    install -Dm644 "${_filename}/ACKNOWLEDGMENTS.md" "$pkgdir/opt/${pkgname%-bin}/share/licenses/${pkgname%-bin}/ACKNOWLEDGMENTS.md"
 }
 
 # vim:set ts=4 sw=4 et: