lsd: update to 1.2.0 (#25906)

This commit is contained in:
Maksim Bondarenkov 2025-10-12 15:30:25 +03:00 committed by GitHub
parent f8955948c3
commit c60eac43ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,8 +6,8 @@
_realname=lsd
pkgbase=mingw-w64-${_realname}
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
pkgver=1.1.5
pkgrel=2
pkgver=1.2.0
pkgrel=1
pkgdesc="The next gen ls command (mingw-w64)"
arch=('any')
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
@ -18,15 +18,14 @@ msys2_references=(
license=("spdx:Apache-2.0")
makedepends=("${MINGW_PACKAGE_PREFIX}-rust" "${MINGW_PACKAGE_PREFIX}-pkgconf")
options=('!strip')
depends=()
depends=("${MINGW_PACKAGE_PREFIX}-libgit2")
optdepends=("${MINGW_PACKAGE_PREFIX}-ttf-font-nerd: popular collections such as Font Awesome & fonts such as Hack")
#'powerline-fonts: powerline symbols for terminals')
source=("https://github.com/lsd-rs/lsd/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz")
sha256sums=('120935c7e98f9b64488fde39987154a6a5b2236cb65ae847917012adf5e122d1')
sha256sums=('dae8d43087686a4a1de0584922608e9cbab00727d0f72e4aa487860a9cbfeefa')
_env() {
# Not compatible with libgit2 1.8+
# export LIBGIT2_NO_VENDOR=1
export LIBGIT2_NO_VENDOR=1
export WINAPI_NO_BUNDLED_LIBRARIES=1
export SHELL_COMPLETIONS_DIR="$PWD/completions"
}
@ -34,6 +33,7 @@ _env() {
prepare() {
cd "${_realname}-${pkgver}"
cargo update -p cc --precise 1.1.10
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}