This commit is contained in:
Noel Jacob
2024-02-19 23:35:54 +00:00
parent 1a90a753b2
commit 0fdeacf03b
2 changed files with 7 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
pkgbase = bun-bin 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 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.0.27 pkgver = 1.0.28
pkgrel = 1 pkgrel = 1
url = https://github.com/oven-sh/bun url = https://github.com/oven-sh/bun
arch = x86_64 arch = x86_64
@@ -10,11 +10,11 @@ pkgbase = bun-bin
conflicts = bun conflicts = bun
source_x86_64 = bun-x64-1.0.26.zip::https://github.com/oven-sh/bun/releases/download/bun-v1.0.26/bun-linux-x64.zip source_x86_64 = bun-x64-1.0.26.zip::https://github.com/oven-sh/bun/releases/download/bun-v1.0.26/bun-linux-x64.zip
source_x86_64 = LICENSE source_x86_64 = LICENSE
sha256sums_x86_64 = b78f0aea5b9e25a35c28f02e6a1cf3d9356899686febb4a562a7a8ec4068aad3 sha256sums_x86_64 = 6bdba90d7c25826bc5f7dba552996bb1c5abb06a7fec0b0b4dfc7514f618e35b
sha256sums_x86_64 = 002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1 sha256sums_x86_64 = 002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1
source_aarch64 = bun-aarch64-1.0.26.zip::https://github.com/oven-sh/bun/releases/download/bun-v1.0.26/bun-linux-aarch64.zip source_aarch64 = bun-aarch64-1.0.26.zip::https://github.com/oven-sh/bun/releases/download/bun-v1.0.26/bun-linux-aarch64.zip
source_aarch64 = LICENSE source_aarch64 = LICENSE
sha256sums_aarch64 = 20404267b0eb5b316cd99f7bb91b90d4cb1ac46a84cfdffe0734c0fd06f8ae72 sha256sums_aarch64 = 789af7996bac48dac3a8f1d5e4fc15b1f18ae28e7b5c3b011e8ce93c913b1ec5
sha256sums_aarch64 = 002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1 sha256sums_aarch64 = 002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1
pkgname = bun-bin pkgname = bun-bin

View File

@@ -3,7 +3,7 @@
# Contributor: 37h4n (aarch64 support added by Ethan Reece <aur at ethanreece dot com>) # 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. # Contributor: sh!zeeg (shizeeque@gmail.com) support for non-avx2 CPUs, shell completions.
pkgname=bun-bin pkgname=bun-bin
pkgver=1.0.27 pkgver=1.0.28
pkgrel=1 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" 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') arch=('x86_64' 'aarch64')
@@ -11,16 +11,14 @@ url="https://github.com/oven-sh/bun"
license=('MIT') license=('MIT')
provides=('bun') provides=('bun')
conflicts=('bun') conflicts=('bun')
sha256sums_x86_64=( sha256sums_x86_64=('6bdba90d7c25826bc5f7dba552996bb1c5abb06a7fec0b0b4dfc7514f618e35b')
'b78f0aea5b9e25a35c28f02e6a1cf3d9356899686febb4a562a7a8ec4068aad3'
'002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1' '002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1'
) )
sha256sums_aarch64=( sha256sums_aarch64=('789af7996bac48dac3a8f1d5e4fc15b1f18ae28e7b5c3b011e8ce93c913b1ec5')
'20404267b0eb5b316cd99f7bb91b90d4cb1ac46a84cfdffe0734c0fd06f8ae72'
'002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1' '002c2696d92b5c8cf956c11072baa58eaf9f6ade995c031ea635c6a1ee342ad1'
) )
_baseline='' _baseline=''
_baseline_sha256sums='7d918537a6e097ca226be7834e0c2b42021c21c4f098cdbcd4d159f9665e9536' _baseline_sha256sums='93dab689daf8ccc83e8166a724c952b33d90710140870ded4acdb305feb8f7a1'
if [[ $CARCH == 'x86_64' && $(cat /proc/cpuinfo | grep avx2) = '' ]];then if [[ $CARCH == 'x86_64' && $(cat /proc/cpuinfo | grep avx2) = '' ]];then
_baseline='-baseline' _baseline='-baseline'
sha256sums_x86_64=${_baseline_sha256sums} sha256sums_x86_64=${_baseline_sha256sums}