Package Details: bun-bin 1.0.29-1

Git Clone URL: https://aur.archlinux.org/bun-bin.git (read-only, click to copy)
Package Base: bun-bin
Description: All-in-one JavaScript runtime built for speed, with bundler, transpiler, test runner, and package manager. Includes bunx, shell completions and support for baseline CPUs
Upstream URL: https://github.com/oven-sh/bun
Keywords: bun, javascript, npm
Licenses: MIT
Conflicts: bun
Provides: bun
Submitter: thdxr
Maintainer: NoelJacob
Last Packager: NoelJacob
Votes: 46
Popularity: 4.81
First Submitted: 2022-07-06 01:57 (UTC)
Last Updated: 2024-02-24 12:08 (UTC)

Dependencies (0)

Required by (2)

Sources (3)

Latest Comments

1 2 3 4 5 Next › Last »

MathMan05 commented on 2024-02-20 02:33 (UTC)

It's broken, the PKGBUILD really messed up and has a big error with an extra ")" in the middle of the hashes

AsukaMinato commented on 2024-02-20 00:25 (UTC) (edited on 2024-02-20 00:26 (UTC) by AsukaMinato)

after update, run this command

shfmt -w PKGBUILD && updpkgsums && makepkg --printsrcinfo > .SRCINFO && makepkg  -C -sf && namcap *.zst

which will erase many problems.

dchusovitin commented on 2024-02-19 23:46 (UTC)

Syntax error in the PKGBUILD file (sha256sums_* sections), an extra parenthesis

bun-bin/PKGBUILD: line 15: 002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1: command not found bun-bin/PKGBUILD: line 16: syntax error near unexpected token `)' bun-bin/PKGBUILD: line 16: `)'

NoelJacob commented on 2024-02-17 18:04 (UTC)

All fixed @rnbguy @SoftExpert @buttcake and @NickGeek

rnbguy commented on 2024-02-17 09:53 (UTC)

It looks like you updated .SCRINFO correctly, but forgot to update the checksums in PKGBUILD.

SoftExpert commented on 2024-02-17 08:52 (UTC)

The error is generated by the incorrect checksum attribution in this line:

  sha256sums_x86_64=($_baseline_sha256sums)

The correct code should be:

  sha256sums_x86_64=${_baseline_sha256sums}

buttcake commented on 2024-02-17 08:46 (UTC)

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: bun-bin 1.0.27-1 (Sat 17 Feb 2024 09:44:55 AM CET)
==> Retrieving sources...
  -> Found bun-x64-1.0.27.zip
  -> Found LICENSE
==> Validating source_x86_64 files with sha256sums...
    bun-x64-1.0.27.zip ... FAILED
    LICENSE ... Passed
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'bun-bin-1.0.27-1': 
error: packages failed to build: bun-bin-1.0.27-1

NickGeek commented on 2024-02-17 08:36 (UTC)

Getting:

==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/nick/.cache/yay/bun-bin 
     context: exit status 1 

rafaelff commented on 2024-01-08 18:02 (UTC)

namcap reports:

bun-bin E: Missing custom license directory (usr/share/licenses/bun-bin)

Quoting license section from PKGBUILD page in ArchWiki:

License families like BSD or MIT are, strictly speaking, not a single license and each instance requires a separate license file. In license variable refer to them using a common SPDX identifier (e.g. 'BSD-3-Clause' or 'MIT'), but then provide the corresponding file as if it was a custom license.

jkcdarunday commented on 2023-12-12 16:48 (UTC)

Does not build for aarch64 with the ff. error:

==> Starting package()...
install: cannot stat './bun-linux-aarch64/bun': No such file or directory

Looks like the wrong path is used as there's already a cd to bun-linux-aarch64 beforehand. Updating this install command to exclude the directory seems to fix this.

-    install -Dm755 "./bun-linux-aarch64/bun" "${pkgdir}/usr/bin/bun"
+    install -Dm755 "./bun" "${pkgdir}/usr/bin/bun"