[arch-commits] Commit in texlab (3 files)
Konstantin Gizdov
kgizdov at archlinux.org
Thu Oct 24 08:18:49 UTC 2019
Date: Thursday, October 24, 2019 @ 08:18:49
Author: kgizdov
Revision: 518785
archrelease: copy trunk to community-x86_64
Added:
texlab/repos/
texlab/repos/community-x86_64/
texlab/repos/community-x86_64/PKGBUILD
(from rev 518784, texlab/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: texlab/repos/community-x86_64/PKGBUILD (from rev 518784, texlab/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD (rev 0)
+++ repos/community-x86_64/PKGBUILD 2019-10-24 08:18:49 UTC (rev 518785)
@@ -0,0 +1,31 @@
+# Maintainer: Konstantin Gizdov <arch at kge dot pw>
+# Contributor: Eric Förster <eric DOT foerster AT outlook DOT com>
+# Contributor: Patrick Förster <patrick DOT foerster AT outlook DOT de>
+
+pkgname=texlab
+pkgver=1.6.0
+pkgrel=2
+pkgdesc="A cross-platform implementation of the Language Server Protocol for LaTeX."
+arch=('x86_64')
+url="https://texlab.netlify.com"
+license=('MIT')
+depends=('gcc-libs')
+makedepends=('rustup' 'npm')
+source=("https://github.com/latex-lsp/texlab/archive/v${pkgver}.tar.gz")
+sha512sums=('bd524250b4723d97003d144ccfb88fed03daaf6bf24c2e660beb833f0a0661daba6dbe695892bf96bd34b3d945e7e6bbe23bd7a09c003be0651612912c07d1eb')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cargo build --release --locked
+}
+
+check() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ cargo test --release --all --locked
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -Dm 755 "target/release/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list