Skip to content

Commit

Permalink
cargl-leptos: update to 0.2.29
Browse files Browse the repository at this point in the history
  • Loading branch information
podsvirov committed Feb 23, 2025
1 parent 9cdf48a commit 0b0db0f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions mingw-w64-cargo-leptos/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _basename=leptos
_realname=cargo-${_basename}
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=0.2.26
pkgver=0.2.29
pkgrel=1
pkgdesc='Build tool for Leptos (mingw-w64)'
arch=('any')
Expand All @@ -18,10 +18,11 @@ msys2_references=(
license=('spdx:MIT')
depends=("${MINGW_PACKAGE_PREFIX}-binaryen"
"${MINGW_PACKAGE_PREFIX}-cargo-generate"
"${MINGW_PACKAGE_PREFIX}-lld"
"${MINGW_PACKAGE_PREFIX}-rust-wasm")
makedepends=("${MINGW_PACKAGE_PREFIX}-rust")
source=("${msys2_repository_url}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
sha256sums=('34978c22459289a93a10bb0b82c1533a590c939f6ef906930175cf031279c4cb')
sha256sums=('e74d5313319f316ae1e8c06d39022ea8a153853f1f1cbb6e454ad151d0e19f61')

prepare() {
cd "${srcdir}/${_realname}-${pkgver}"
Expand All @@ -33,6 +34,8 @@ build() {
cp -r "${_realname}-${pkgver}" "build-${MSYSTEM}"
cd "build-${MSYSTEM}"

export RUSTFLAGS="$RUSTFLAGS -C link-arg=-fuse-ld=lld"

"${MINGW_PREFIX}/bin/cargo.exe" build \
--release \
--frozen
Expand Down

0 comments on commit 0b0db0f

Please # to comment.