Skip to content

Commit

Permalink
bat: update windows-targets to fix the arm64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Nov 2, 2023
1 parent 9aba65d commit 678d0b0
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion mingw-w64-bat/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _realname=bat
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.24.0
pkgrel=1
pkgrel=2
pkgdesc="Cat clone with syntax highlighting and git integration (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64' 'clang64' 'clangarm64' 'clang32')
Expand All @@ -26,6 +26,11 @@ sha256sums=('907554a9eff239f256ee8fe05a922aad84febe4fe10a499def72a4557e9eedfb')

prepare() {
cp -r ${_realname}-${pkgver} build-${MSYSTEM}

# update windows-targets to fix windows-gnullvm dependency specification
cargo update -p [email protected] --precise 0.48.1 \
--manifest-path build-${MSYSTEM}/Cargo.toml

${MINGW_PREFIX}/bin/cargo fetch \
--locked \
--manifest-path build-${MSYSTEM}/Cargo.toml
Expand Down

0 comments on commit 678d0b0

Please sign in to comment.