Jelle van der Waa pushed to branch main at Arch Linux / Packaging / Packages / oxlint
Commits: 133bee87 by Jelle van der Waa at 2024-04-22T16:28:12+02:00 Update to 0.3.0 - - - - - 1 changed file: - PKGBUILD Changes: ===================================== PKGBUILD ===================================== @@ -1,7 +1,7 @@ # Maintainer: Jelle van der Waa <je...@archlinux.org> pkgname=oxlint -pkgver=0.2.15 +pkgver=0.3.0 pkgrel=1 pkgdesc="A collection of JavaScript tools written in Rust" arch=(x86_64) @@ -9,28 +9,31 @@ url="https://github.com/oxc-project/oxc" license=('MIT') depends=('gcc-libs') options=('!lto') -makedepends=('rust') +makedepends=('rust' 'cargo') source=("$pkgname-$pkgver.tar.gz::https://github.com/oxc-project/oxc/archive/refs/tags/oxlint_v${pkgver}.tar.gz") -sha256sums=('011e602db8f6442bec9308264899c1e2a724ca40842bdcfd320d6e1641ac5a16') +sha256sums=('79c604ffbe9482b15f344b1ebc94fb365fac36087c19795cbbc134c83b69f101') prepare() { cd "oxc-oxlint_v${pkgver}" export RUSTUP_TOOLCHAIN=stable cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" + # export RUSTUP_TOOLCHAIN=stable + # export CARGO_TARGET_DIR=target + } build() { cd "oxc-oxlint_v${pkgver}" - cargo build --release --locked + cargo build --frozen --release --all-features } package() { cd "oxc-oxlint_v${pkgver}" install -Dm755 target/release/oxlint "$pkgdir/usr/bin/oxlint" - install -Dm755 target/release/oxformat "$pkgdir/usr/bin/oxformat" + # install -Dm755 target/release/oxformat "$pkgdir/usr/bin/oxformat" # nvim-lspconfig https://github.com/jelly/Dotfiles/commit/9924ec1ef8785185c6cab8410589864df042f710 install -Dm755 target/release/oxc_language_server "$pkgdir/usr/bin/oxc_language_server" View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/oxlint/-/commit/133bee87d6d0d86bcc641a6a1b48e86679027a0d -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/oxlint/-/commit/133bee87d6d0d86bcc641a6a1b48e86679027a0d You're receiving this email because of your account on gitlab.archlinux.org.