[arch-commits] Commit in (4 files)

Jelle van der Waa jelle at gemini.archlinux.org
Thu May 12 18:49:25 UTC 2022


    Date: Thursday, May 12, 2022 @ 18:49:24
  Author: jelle
Revision: 1199785

eslint lsp for neovi

Added:
  eslint_d/
  eslint_d/repos/
  eslint_d/trunk/
  eslint_d/trunk/PKGBUILD

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

Added: eslint_d/trunk/PKGBUILD
===================================================================
--- eslint_d/trunk/PKGBUILD	                        (rev 0)
+++ eslint_d/trunk/PKGBUILD	2022-05-12 18:49:24 UTC (rev 1199785)
@@ -0,0 +1,26 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Contributor: Sam A. Horvath-Hunt <hello at samhh.com>
+
+pkgname=eslint_d
+pkgver=12.1.0
+pkgrel=2
+pkgdesc="Makes eslint the fastest linter on the planet."
+url="https://github.com/mantoni/eslint_d.js"
+license=("MIT")
+arch=("any")
+depends=("nodejs")
+makedepends=("npm")
+source=("https://registry.npmjs.org/${pkgname}/-/${pkgname}-${pkgver}.tgz")
+noextract=("${pkgname}-${pkgver}.tgz")
+sha256sums=('4b826abef0f3f4b71aa9a48f5b111adf5babbe7458fa9a34546526bd9b5c7a6e')
+
+prepare() {
+  tar xf "${pkgname}-${pkgver}.tgz" package/LICENSE
+}
+
+package() {
+  npm i -g --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$pkgname-$pkgver.tgz"
+  install -Dm644 package/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  chown -R root:root "$pkgdir/usr"
+}
+



More information about the arch-commits mailing list