Github messages for voidlinux
 help / color / mirror / Atom feed
From: Bnyro <Bnyro@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: bun-0.5.9
Date: Mon, 08 May 2023 15:14:47 +0200	[thread overview]
Message-ID: <20230508131447.jQgOUQtS1uZPI3dP_UoaStJ5_DBfK5oqsSASaVrcsjE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43681@inbox.vuxu.org>

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

There is an updated pull request by Bnyro against master on the void-packages repository

https://github.com/Bnyro/void-packages bun
https://github.com/void-linux/void-packages/pull/43681

New package: bun-0.5.9
#### 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)

Concerning the license, there's currently no license file available at Bun's repo. See https://github.com/oven-sh/bun/issues/241.


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bun-43681.patch --]
[-- Type: text/x-diff, Size: 1474 bytes --]

From d798f7cea5e81b5f6edec8413f43eac5dbcae458 Mon Sep 17 00:00:00 2001
From: Bnyro <bnyro@tutanota.com>
Date: Mon, 8 May 2023 15:14:12 +0200
Subject: [PATCH] New package: bun-0.5.9

---
 srcpkgs/bun/template | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/bun/template

diff --git a/srcpkgs/bun/template b/srcpkgs/bun/template
new file mode 100644
index 000000000000..54024e165b48
--- /dev/null
+++ b/srcpkgs/bun/template
@@ -0,0 +1,31 @@
+# Template file for 'bun'
+pkgname=bun
+version=0.5.9
+revision=1
+archs="aarch64 x86_64"
+hostmakedepends="git which llvm15 cmake ccache automake coreutils go libtool wget pkg-config nodejs xz"
+short_desc="JavaScript runtime, bundler, transpiler, and package manager"
+maintainer="Bnyro <bnyro@tutanota.com>"
+license="MIT"
+homepage="https://bun.sh"
+changelog="https://bun.sh/blog"
+distfiles="https://github.com/oven-sh/bun/archive/refs/tags/${pkgname}-v${version}.tar.gz"
+checksum=61751480269b6794a18262f974870dee17703b0935436ca2f23ea489ff8d4d74
+
+pre_build() {
+	npm install -g esbuild
+	_zig_version=$(cat Dockerfile | grep "ZIG_VERSION" | head -n 1 | cut -d "=" -f 2 | tr -d \")
+	wget -O zig.tar.xz https://ziglang.org/builds/zig-${_zig_version}.tar.xz
+	tar xvf zig.tar.xz
+	export ZIG=$(pwd)/zig-${_zig_version}
+}
+
+do_build() {
+	make devcontainer
+	make release-bindings -j12
+	make release
+}
+
+do_install() {
+	vbin packages/bun-linux-${XBPS_TARGET_ARCH}/bun
+}

  parent reply	other threads:[~2023-05-08 13:14 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-30 10:45 [PR PATCH] " Bnyro
2023-04-30 11:41 ` atk
2023-04-30 15:02 ` icp1994
2023-04-30 16:17 ` atk
2023-04-30 18:18 ` Bnyro
2023-04-30 19:43 ` atk
2023-05-01  9:55 ` Bnyro
2023-05-01 13:52 ` atk
2023-05-01 13:58 ` Bnyro
2023-05-01 13:58 ` Bnyro
2023-05-01 14:27 ` paper42
2023-05-01 15:32 ` atk
2023-05-01 15:37 ` atk
2023-05-05  9:18 ` atk
2023-05-05 14:38 ` Bnyro
2023-05-05 14:39 ` Bnyro
2023-05-08 13:14 ` Bnyro [this message]
2023-05-08 13:15 ` Bnyro
2023-06-01 13:00 ` [PR PATCH] [Closed]: " Bnyro
2023-06-01 13:02 ` Bnyro

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=20230508131447.jQgOUQtS1uZPI3dP_UoaStJ5_DBfK5oqsSASaVrcsjE@z \
    --to=bnyro@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).