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

Felix Yan felixonmars at archlinux.org
Thu Jul 5 13:36:19 UTC 2018


    Date: Thursday, July 5, 2018 @ 13:36:19
  Author: felixonmars
Revision: 352744

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

Copied: bash-language-server/repos/community-x86_64/PKGBUILD (from rev 352743, bash-language-server/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-07-05 13:36:19 UTC (rev 352744)
@@ -0,0 +1,22 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=bash-language-server
+pkgver=1.3.1
+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')
+makedepends=('npm' 'python2')
+source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
+noextract=("$pkgname-$pkgver.tgz")
+sha512sums=('91dcfc3e42c756e10e20f596270a55a1b61460b542be02b1e047683d4cba69d99faf63c00396c28026674d13d717a54d4b787989a143caefc9a5db9a43439207')
+
+package() {
+  PYTHON=python2 npm install -g --user root --prefix "$pkgdir"/usr "$srcdir"/$pkgname-$pkgver.tgz
+
+  # Fix permissions
+  find "$pkgdir/usr" -type d -exec chmod 755 '{}' +
+}



More information about the arch-commits mailing list