mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
dev-lang/bun-bin: new package, add 1.3.14
Signed-off-by: Robert Greener <me@r0bert.dev>
This commit is contained in:
2
dev-lang/bun-bin/Manifest
Normal file
2
dev-lang/bun-bin/Manifest
Normal file
@@ -0,0 +1,2 @@
|
||||
DIST bun-bin-1.3.14-amd64.zip 35969274 BLAKE2B 6c291c5900761de1d6dbefc0e7ad4f293a4cf24a132a107cffa467eda4050f44f5ca2aa5e0b35f95c31bd56101578dea0f0d8ae04de06d1a066180d5ee7f1fc7 SHA512 31f054acf7341023d8d21d935faa4c4608c8efbbde8e3a8a4c344dd8b78e438b84b8f377318ac03b4b3c7d0fa4ff387e2864c87e5f704e2ed0e47dda38c35995
|
||||
DIST bun-bin-1.3.14-arm64.zip 35700603 BLAKE2B c03b5322154d593d998cb5cd3c21977c4e816bc5f262649bf293cc82395e999f8744057c10e74a9e67e10258f6657cee95cf2996724bfc7d435a4e44bb8d83b3 SHA512 4818f9df42d57e3116de3d525d544c5dda1b9be5be3f38b0d2db923232f4345d50123cca2b36f271c822fad1207e005dc85fcc1287185b6e5630038d5a382e7d
|
||||
38
dev-lang/bun-bin/bun-bin-1.3.14.ebuild
Normal file
38
dev-lang/bun-bin/bun-bin-1.3.14.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Fast all-in-one JavaScript runtime, bundler, transpiler, and package manager"
|
||||
HOMEPAGE="https://bun.sh/ https://github.com/oven-sh/bun/"
|
||||
|
||||
SRC_URI="
|
||||
amd64? ( https://github.com/oven-sh/bun/releases/download/bun-v${PV}/bun-linux-x64.zip -> ${P}-amd64.zip )
|
||||
arm64? ( https://github.com/oven-sh/bun/releases/download/bun-v${PV}/bun-linux-aarch64.zip -> ${P}-arm64.zip )
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
RESTRICT="strip test"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
QA_PREBUILT="usr/bin/bun"
|
||||
|
||||
src_install() {
|
||||
local bun_dir
|
||||
if use amd64; then
|
||||
bun_dir="bun-linux-x64"
|
||||
elif use arm64; then
|
||||
bun_dir="bun-linux-aarch64"
|
||||
else
|
||||
die "Unsupported architecture"
|
||||
fi
|
||||
|
||||
cd "${bun_dir}" || die "Directory ${bun_dir} not found in extracted zip"
|
||||
|
||||
dobin bun
|
||||
}
|
||||
12
dev-lang/bun-bin/metadata.xml
Normal file
12
dev-lang/bun-bin/metadata.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Robert Greener</name>
|
||||
<email>me@r0bert.dev</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">oven-sh/bun</remote-id>
|
||||
<bugs-to>https://github.com/oven-sh/bun/issues</bugs-to>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user