File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Template file for 'biome'
2+ pkgname=biome
3+ version=2.2.4
4+ revision=1
5+ archs="~i686*"
6+ build_style=cargo
7+ make_install_args="--path crates/biome_cli"
8+ hostmakedepends="pkg-config"
9+ makedepends="libgit2-1.9-devel"
10+ short_desc="Language server for web projects (HTML, CSS, JavaScript)"
11+ maintainer="Bnyro <bnyro@tutanota.com>"
12+ license="MIT OR Apache-2.0"
13+ homepage="https://github.com/biomejs/biome"
14+ changelog="https://raw.githubusercontent.com/biomejs/biome/refs/heads/main/packages/@biomejs/biome/CHANGELOG.md"
15+ distfiles="https://github.com/biomejs/biome/archive/refs/tags/@biomejs/biome@${version}.tar.gz"
16+ checksum=4239fbcb799717215c8cb204f2f90bc38ef7e118935fb72cddcca51046c1e8fb
17+ make_check=no # tests assume version code 0.0.0, we use $version however
18+
19+ post_patch() {
20+ # fix output of 'biome --version'
21+ vsed -i 's@version.*=.*@version="'$version'"@' crates/biome_cli/Cargo.toml
22+ cargo update --package biome_cli@0.0.0 --precise $version
23+ }
24+
25+ pre_build() {
26+ # actual value of BIOME_VERSION doesn't matter, see
27+ # https://github.com/biomejs/biome/blob/main/CONTRIBUTING.md#production-binaries
28+ export BIOME_VERSION=${version}
29+ }
30+
31+ post_install() {
32+ vlicense LICENSE-MIT
33+ }
34+
You can’t perform that action at this time.
0 commit comments