chore: sync AUR packages (shared)
This commit is contained in:
1 parent
f8eb5667a9
commit
a86b18f522
4 files changed
+39
-35
No files matched your search
@@ -1,6 +1,6 @@
|
||||
pkgbase = bun-bin
|
||||
pkgdesc = 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
|
||||
pkgver = 1.3.5
|
||||
pkgver = 1.3.11
|
||||
pkgrel = 1
|
||||
url = https://github.com/oven-sh/bun
|
||||
arch = x86_64
|
||||
@@ -8,13 +8,14 @@ pkgbase = bun-bin
|
||||
license = MIT
|
||||
provides = bun
|
||||
conflicts = bun
|
||||
source_x86_64 = bun-x64-1.0.36.zip::https://github.com/oven-sh/bun/releases/download/bun-v1.0.36/bun-linux-x64.zip
|
||||
options = !debug
|
||||
source_x86_64 = bun-x64-1.3.11.zip::https://github.com/oven-sh/bun/releases/download/bun-v1.3.11/bun-linux-x64.zip
|
||||
source_x86_64 = LICENSE
|
||||
sha256sums_x86_64 = 7051d86a924aefea3e0b96213b5fd8f79c0793f9cae6534233e627e5c3db4669
|
||||
sha256sums_x86_64 = 8611ba935af886f05a6f38740a15160326c15e5d5d07adef966130b4493607ed
|
||||
sha256sums_x86_64 = 9b296bcc20090b5ea079dc1bca15913a32246121169bcf54cbdb7384d6f5b32b
|
||||
source_aarch64 = bun-aarch64-1.0.36.zip::https://github.com/oven-sh/bun/releases/download/bun-v1.0.36/bun-linux-aarch64.zip
|
||||
source_aarch64 = bun-aarch64-1.3.11.zip::https://github.com/oven-sh/bun/releases/download/bun-v1.3.11/bun-linux-aarch64.zip
|
||||
source_aarch64 = LICENSE
|
||||
sha256sums_aarch64 = ed01000f85bd97785228ad2845dc92a1860b8054856826d7317690ac8f8ee74b
|
||||
sha256sums_aarch64 = d13944da12a53ecc74bf6a720bd1d04c4555c038dfe422365356a7be47691fdf
|
||||
sha256sums_aarch64 = 9b296bcc20090b5ea079dc1bca15913a32246121169bcf54cbdb7384d6f5b32b
|
||||
|
||||
pkgname = bun-bin
|
||||
@@ -3,7 +3,7 @@
|
||||
# Contributor: 37h4n (aarch64 support added by Ethan Reece <aur at ethanreece dot com>)
|
||||
# Contributor: sh!zeeg (shizeeque@gmail.com) support for non-avx2 CPUs, shell completions.
|
||||
pkgname=bun-bin
|
||||
pkgver=1.3.5
|
||||
pkgver=1.3.11
|
||||
pkgrel=1
|
||||
pkgdesc="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"
|
||||
arch=('x86_64' 'aarch64')
|
||||
@@ -11,20 +11,13 @@ url="https://github.com/oven-sh/bun"
|
||||
license=('MIT')
|
||||
provides=('bun')
|
||||
conflicts=('bun')
|
||||
sha256sums_x86_64=('7051d86a924aefea3e0b96213b5fd8f79c0793f9cae6534233e627e5c3db4669'
|
||||
'9b296bcc20090b5ea079dc1bca15913a32246121169bcf54cbdb7384d6f5b32b'
|
||||
)
|
||||
sha256sums_aarch64=('ed01000f85bd97785228ad2845dc92a1860b8054856826d7317690ac8f8ee74b'
|
||||
'9b296bcc20090b5ea079dc1bca15913a32246121169bcf54cbdb7384d6f5b32b'
|
||||
)
|
||||
_baseline=''
|
||||
_baseline_sha256sums='6bddacd6a65855698b9816f2d74871eda4dd0b7fa921140c6445248f94a742fd'
|
||||
if [[ $CARCH == 'x86_64' && $(cat /proc/cpuinfo | grep avx2) = '' ]]; then
|
||||
_baseline='-baseline'
|
||||
sha256sums_x86_64=${_baseline_sha256sums}
|
||||
fi
|
||||
options=('!debug')
|
||||
sha256sums_x86_64=('8611ba935af886f05a6f38740a15160326c15e5d5d07adef966130b4493607ed'
|
||||
'9b296bcc20090b5ea079dc1bca15913a32246121169bcf54cbdb7384d6f5b32b')
|
||||
sha256sums_aarch64=('d13944da12a53ecc74bf6a720bd1d04c4555c038dfe422365356a7be47691fdf'
|
||||
'9b296bcc20090b5ea079dc1bca15913a32246121169bcf54cbdb7384d6f5b32b')
|
||||
source_x86_64=(
|
||||
"bun-x64-${pkgver}.zip::https://github.com/oven-sh/bun/releases/download/bun-v${pkgver}/bun-linux-x64${_baseline}.zip"
|
||||
"bun-x64-${pkgver}.zip::https://github.com/oven-sh/bun/releases/download/bun-v${pkgver}/bun-linux-x64.zip"
|
||||
"LICENSE"
|
||||
)
|
||||
source_aarch64=(
|
||||
@@ -35,7 +28,7 @@ build() {
|
||||
if [ "${CARCH}" == "aarch64" ]; then
|
||||
cd "bun-linux-aarch64"
|
||||
else
|
||||
cd "bun-linux-x64${_baseline}"
|
||||
cd "bun-linux-x64"
|
||||
fi
|
||||
install -dm755 "completions"
|
||||
SHELL=zsh "./bun" completions >"completions/bun.zsh"
|
||||
@@ -47,7 +40,7 @@ package() {
|
||||
cd "bun-linux-aarch64"
|
||||
install -Dm755 "./bun" "${pkgdir}/usr/bin/bun"
|
||||
else
|
||||
cd "bun-linux-x64${_baseline}"
|
||||
cd "bun-linux-x64"
|
||||
install -Dm755 "./bun" "${pkgdir}/usr/bin/bun"
|
||||
fi
|
||||
# simlink as bunx as in the official install.sh
|
||||
|
||||
Reference in new issue
Block a user