Github messages for voidlinux
 help / color / mirror / Atom feed
From: Johnnynator <Johnnynator@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: ansible-language-server-1.2.1
Date: Tue, 08 Aug 2023 10:03:35 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45484@inbox.vuxu.org> (raw)

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

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

https://github.com/Johnnynator/void-packages ansible-language-server
https://github.com/void-linux/void-packages/pull/45484

New package: ansible-language-server-1.2.1
None

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

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

From 5678348b7455681ce12989dbebdb152692dc0d2e Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Tue, 8 Aug 2023 10:02:46 +0200
Subject: [PATCH] New package: ansible-language-server-1.2.1

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

diff --git a/srcpkgs/ansible-language-server/template b/srcpkgs/ansible-language-server/template
new file mode 100644
index 0000000000000..ef2bb4fef754a
--- /dev/null
+++ b/srcpkgs/ansible-language-server/template
@@ -0,0 +1,32 @@
+# Template file for 'ansible-language-server'
+pkgname=ansible-language-server
+version=1.2.1
+revision=1
+hostmakedepends="nodejs"
+depends="nodejs"
+short_desc="Ansible Language Server"
+maintainer="John <me@johnnynator.dev>"
+license="MIT"
+homepage="https://als.rtfd.io/"
+distfiles="https://github.com/ansible/ansible-language-server/archive/refs/tags/v${version}.tar.gz"
+checksum=63974a183cc405cec4798e41853fa221851b19e8de06a8cad1493621e3f6a9bf
+
+do_build() {
+	npm install
+	npm run compile
+	rm -r node_modules
+	npm install --omit=dev --ignore-scripts
+}
+
+do_install() {
+	vlicense LICENSE
+
+	vmkdir usr/bin
+	vmkdir usr/lib/ansible-language-server
+	vcopy bin/ usr/lib/ansible-language-server
+	vcopy out/ usr/lib/ansible-language-server
+	vcopy node_modules/ usr/lib/ansible-language-server
+
+	ln -sf /usr/lib/ansible-language-server/bin/ansible-language-server \
+		${DESTDIR}/usr/bin/ansible-language-server
+}

             reply	other threads:[~2023-08-08  8:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-08  8:03 Johnnynator [this message]
2023-09-11 19:05 ` [PR PATCH] [Merged]: " Johnnynator

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-45484@inbox.vuxu.org \
    --to=johnnynator@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).