[arch-commits] Commit in bash-language-server/repos/community-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Jul 12 16:42:26 UTC 2018
Date: Thursday, July 12, 2018 @ 16:42:26
Author: felixonmars
Revision: 357931
archrelease: copy trunk to community-x86_64
Added:
bash-language-server/repos/community-x86_64/PKGBUILD
(from rev 357929, bash-language-server/trunk/PKGBUILD)
Deleted:
bash-language-server/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++----------------------
1 file changed, 28 insertions(+), 22 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-07-12 16:42:24 UTC (rev 357930)
+++ PKGBUILD 2018-07-12 16:42:26 UTC (rev 357931)
@@ -1,22 +0,0 @@
-# $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 '{}' +
-}
Copied: bash-language-server/repos/community-x86_64/PKGBUILD (from rev 357929, bash-language-server/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-07-12 16:42:26 UTC (rev 357931)
@@ -0,0 +1,28 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=bash-language-server
+pkgver=1.4.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=('npm' 'python2')
+source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
+noextract=("$pkgname-$pkgver.tgz")
+sha512sums=('4ad2e130b2eeccd957ab95abe8658bc901b653886fc24ad87b272dde3b4df0d645f122df04eb0c9b880a9c394b1b05adaae35b81bb104ae289c40d7e107f0349')
+
+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 '{}' +
+
+ cd "$pkgdir"/usr/lib/node_modules/$pkgname/node_modules
+ for dep in acorn; do
+ rm -r $dep;
+ done
+
+}
More information about the arch-commits
mailing list