[arch-commits] Commit in bash-language-server/repos/community-x86_64 (2 files)

Maxim Baz maximbaz at archlinux.org
Thu Aug 27 21:00:34 UTC 2020


    Date: Thursday, August 27, 2020 @ 21:00:34
  Author: maximbaz
Revision: 690005

archrelease: copy trunk to community-x86_64

Added:
  bash-language-server/repos/community-x86_64/PKGBUILD
    (from rev 690004, bash-language-server/trunk/PKGBUILD)
Deleted:
  bash-language-server/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   65 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 34 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-27 21:00:30 UTC (rev 690004)
+++ PKGBUILD	2020-08-27 21:00:34 UTC (rev 690005)
@@ -1,31 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
-
-pkgname=bash-language-server
-pkgver=1.17.0
-pkgrel=1
-pkgdesc="Bash language server implementation based on Tree Sitter and its grammar for Bash"
-arch=("x86_64")
-url="https://github.com/mads-hartmann/bash-language-server"
-license=("MIT")
-depends=("nodejs" "acorn")
-makedepends=("yarn" "typescript" "git")
-source=("https://github.com/mads-hartmann/$pkgname/archive/server-$pkgver.tar.gz")
-sha512sums=('3d16a7de09d54ca2cdd3ae6a1bd7d88e843d37e662859d85bb365d3ed90d1ad9bca17767d8c42c80f9777a799cd38744a5d3b2cf47d6491c37118f1265ce522c')
-
-build() {
-    cd "$srcdir/$pkgname-server-$pkgver"
-    yarn
-    yarn run compile
-}
-
-package() {
-    install -d "$pkgdir/usr/lib/$pkgname"
-    cd "$pkgdir/usr/lib/$pkgname"
-    cp -a "$srcdir/$pkgname-server-$pkgver/server/"* .
-
-    rm -r node_modules/acorn
-
-    install -d "$pkgdir/usr/bin"
-    ln -s "/usr/lib/$pkgname/bin/main.js" "$pkgdir/usr/bin/$pkgname"
-}

Copied: bash-language-server/repos/community-x86_64/PKGBUILD (from rev 690004, bash-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-08-27 21:00:34 UTC (rev 690005)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Maxim Baz <$pkgname at maximbaz dot com>
+
+pkgname=bash-language-server
+pkgver=1.17.0
+pkgrel=2
+pkgdesc="Bash language server implementation based on Tree Sitter and its grammar for Bash"
+arch=("x86_64")
+url="https://github.com/bash-lsp/$pkgname"
+license=("MIT")
+depends=("nodejs" "acorn")
+makedepends=("yarn" "typescript" "git")
+source=("$url/archive/server-$pkgver.tar.gz")
+sha512sums=('3d16a7de09d54ca2cdd3ae6a1bd7d88e843d37e662859d85bb365d3ed90d1ad9bca17767d8c42c80f9777a799cd38744a5d3b2cf47d6491c37118f1265ce522c')
+
+build() {
+    cd "$pkgname-server-$pkgver"
+    yarn
+    yarn run compile
+}
+
+package() {
+    install -d "$pkgdir/usr/lib/$pkgname"
+    cd "$pkgdir/usr/lib/$pkgname"
+    cp -a "$srcdir/$pkgname-server-$pkgver/server/"* .
+    install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname/" "$srcdir/$pkgname-server-$pkgver/LICENSE"
+
+    rm -r node_modules/acorn
+    mkdir -p node_modules/acorn/bin
+    ln -s /usr/bin/acorn node_modules/acorn/bin/acorn
+
+    install -d "$pkgdir/usr/bin"
+    ln -s "/usr/lib/$pkgname/bin/main.js" "$pkgdir/usr/bin/$pkgname"
+}



More information about the arch-commits mailing list