Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: bash-language-server-4.8.3
@ 2023-03-17  7:31 sirkhancision
  2023-03-17 15:04 ` sirkhancision
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: sirkhancision @ 2023-03-17  7:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

There is a new pull request by sirkhancision against master on the void-packages repository

https://github.com/sirkhancision/void-packages bash-language-server
https://github.com/void-linux/void-packages/pull/42818

New package: bash-language-server-4.8.3
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures:
  - i686
  - x86_64-musl


A patch file from https://github.com/void-linux/void-packages/pull/42818.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bash-language-server-42818.patch --]
[-- Type: text/x-diff, Size: 1645 bytes --]

From 5573f695fa7ee77a1ac35cea40ab27e0e9f7b1b6 Mon Sep 17 00:00:00 2001
From: sirkhancision <jsantiago12tone@gmail.com>
Date: Fri, 17 Mar 2023 04:28:47 -0300
Subject: [PATCH] New package: bash-language-server-4.8.3

---
 srcpkgs/bash-language-server/template | 37 +++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 srcpkgs/bash-language-server/template

diff --git a/srcpkgs/bash-language-server/template b/srcpkgs/bash-language-server/template
new file mode 100644
index 000000000000..a5618ac20daa
--- /dev/null
+++ b/srcpkgs/bash-language-server/template
@@ -0,0 +1,37 @@
+# Template file for 'bash-language-server'
+pkgname=bash-language-server
+version=4.8.3
+revision=1
+archs="i686 x86_64"
+hostmakedepends="jq yarn"
+depends="nodejs"
+short_desc="Bash language server"
+maintainer="sirkhancision <jsantiago12tone@gmail.com>"
+license="MIT"
+homepage="https://github.com/bash-lsp/bash-language-server"
+distfiles="https://github.com/bash-lsp/bash-language-server/archive/refs/tags/server-${version}.tar.gz"
+checksum=a6c367e19a007b889f59fa7aa6a8c4fb0fae83fbfcc928e7a8f4366015dedbd6
+
+do_build() {
+	yarn
+	yarn run compile
+}
+
+do_install() {
+	TARGET_PATH="usr/lib/${pkgname}"
+	cd server
+
+	cp package.json{,.bak}
+	read -ra devDependencies < <(jq -r '.devDependencies | keys | join(" ")' package.json)
+	yarn remove --frozen-lockfile "${devDependencies[@]}"
+	mv package.json{.bak,}
+
+	vmkdir ${TARGET_PATH}
+	vcopy * ${TARGET_PATH}
+
+	vmkdir usr/bin
+	ln -sf /${TARGET_PATH}/out/cli.js ${DESTDIR}/usr/bin/${pkgname}
+	chmod 0755 ${DESTDIR}/${TARGET_PATH}/out/cli.js
+
+	vlicense ${wrksrc}/LICENSE
+}

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2023-05-10 14:46 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-17  7:31 [PR PATCH] New package: bash-language-server-4.8.3 sirkhancision
2023-03-17 15:04 ` sirkhancision
2023-03-17 19:41 ` icp1994
2023-03-17 21:59 ` classabbyamp
2023-03-17 22:28 ` [PR PATCH] [Updated] " sirkhancision
2023-03-17 22:29 ` classabbyamp
2023-03-17 22:29 ` [PR REVIEW] " classabbyamp
2023-03-17 22:29 ` classabbyamp
2023-03-17 22:29 ` sirkhancision
2023-03-17 22:30 ` sirkhancision
2023-03-17 22:31 ` classabbyamp
2023-03-17 22:36 ` [PR REVIEW] " sirkhancision
2023-03-17 22:37 ` classabbyamp
2023-03-17 22:42 ` sirkhancision
2023-03-17 22:43 ` classabbyamp
2023-03-17 22:44 ` sirkhancision
2023-03-17 22:47 ` classabbyamp
2023-03-17 23:10 ` [PR PATCH] [Updated] " sirkhancision
2023-03-17 23:11 ` sirkhancision
2023-05-09  4:37 ` tjkirch
2023-05-09 18:22 ` [PR PATCH] [Updated] " sirkhancision
2023-05-10 14:46 ` [PR PATCH] [Merged]: New package: bash-language-server-4.9.1 classabbyamp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).