From: sirkhancision <sirkhancision@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: bash-language-server-4.8.3
Date: Sat, 18 Mar 2023 00:10:42 +0100 [thread overview]
Message-ID: <20230317231042.sqettyX9WIVXEjjSH4Zej4uijWUfABI-FMJwRAEIDAQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-42818@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 781 bytes --]
There is an updated 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: 1619 bytes --]
From 93fb792e99e77eb5e71dce6b544e41bb8e85675e 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 | 36 +++++++++++++++++++++++++++
1 file changed, 36 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..02fcb44dfbf2
--- /dev/null
+++ b/srcpkgs/bash-language-server/template
@@ -0,0 +1,36 @@
+# Template file for 'bash-language-server'
+pkgname=bash-language-server
+version=4.8.3
+revision=1
+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 ../LICENSE
+}
next prev parent reply other threads:[~2023-03-17 23:10 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-17 7:31 [PR PATCH] " 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 ` sirkhancision [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230317231042.sqettyX9WIVXEjjSH4Zej4uijWUfABI-FMJwRAEIDAQ@z \
--to=sirkhancision@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).