Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages /
biome
Commits:
23b21709 by Caleb Maclennan at 2026-07-15T12:45:26+03:00
upgpkg: 2.5.4-1
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
pkgbase = biome
pkgdesc = Formatter, linter, and more for Javascript, Typescript, JSON,
and CSS
- pkgver = 2.5.3
+ pkgver = 2.5.4
pkgrel = 1
url = https://biomejs.dev
arch = x86_64
@@ -10,7 +10,7 @@ pkgbase = biome
depends = libgcc
replaces = rome
replaces = biome-bin
- source =
https://github.com/biomejs/biome/archive/@biomejs/[email protected]/biome--biomejs-biome-2.5.3.tar.gz
- sha256sums =
0ecf4818c1a6a072647f6fcbdd29fcc2ac82b33ba825710806c7c7495edef20b
+ source =
https://github.com/biomejs/biome/archive/@biomejs/[email protected]/biome--biomejs-biome-2.5.4.tar.gz
+ sha256sums =
399aea108d542c87547a1ca755e44933d8b6de7e05a82905a859488158c23a23
pkgname = biome
=====================================
PKGBUILD
=====================================
@@ -1,7 +1,7 @@
# Maintainer: Caleb Maclennan <[email protected]>
pkgname=biome
-pkgver=2.5.3
+pkgver=2.5.4
pkgrel=1
pkgdesc='Formatter, linter, and more for Javascript, Typescript, JSON, and CSS'
arch=(x86_64)
@@ -15,22 +15,28 @@ replaces=(rome
"$pkgname-bin")
_archive="$pkgname--biomejs-biome-$pkgver"
source=("$_url/archive/@biomejs/biome@$pkgver/$_archive.tar.gz")
-sha256sums=('0ecf4818c1a6a072647f6fcbdd29fcc2ac82b33ba825710806c7c7495edef20b')
-
-prepare() {
- cd "$_archive/crates/${pkgname}_cli"
- cargo fetch --locked --target "$(rustc --print host-tuple)"
-}
+sha256sums=('399aea108d542c87547a1ca755e44933d8b6de7e05a82905a859488158c23a23')
_srcenv() {
cd "$_archive"
+ export CARGO_HOME="$srcdir"
+ export CARGO_PROFILE_RELEASE_DEBUG=2
+ export CARGO_PROFILE_RELEASE_STRIP=false
+ export CARGO_PROFILE_RELEASE_LTO=true
+ export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
+ export CARGO_PROFILE_RELEASE_OPT_LEVEL=3
CFLAGS+=' -ffat-lto-objects'
}
+prepare() {
+ _srcenv
+ cargo fetch --locked --target host-tuple
+}
+
build() {
_srcenv
export BIOME_VERSION="$pkgver"
- cargo build -p "${pkgname}_cli" --frozen --release --all-features
+ cargo build -p "${pkgname}_cli" --frozen --release --all-features
}
check() {
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/biome/-/commit/23b217092d8a111975e490eaff1edb65e67f4e35
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/biome/-/commit/23b217092d8a111975e490eaff1edb65e67f4e35
You're receiving this email because of your account on gitlab.archlinux.org.
Manage all notifications: https://gitlab.archlinux.org/-/profile/notifications
| Help: https://gitlab.archlinux.org/help