diff --git a/mingw-w64-lsd/PKGBUILD b/mingw-w64-lsd/PKGBUILD index 2805f58811b2a..a7632453f25ae 100644 --- a/mingw-w64-lsd/PKGBUILD +++ b/mingw-w64-lsd/PKGBUILD @@ -5,8 +5,8 @@ _realname=lsd pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=1.1.1 -pkgrel=1 +pkgver=1.1.2 +pkgrel=2 pkgdesc="The next gen ls command (mingw-w64)" arch=('any') mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64') @@ -20,12 +20,17 @@ options=('!strip' '!lto') 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=('7933e196bf7b164ea8879078f8a8e87381e0c49f71867e0036c82916199aba61') +source=("https://github.com/lsd-rs/lsd/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz" + "https://github.com/lsd-rs/lsd/pull/1021.patch") +sha256sums=('cd80dae9a8f6c4c2061f79084468ea6e04c372e932e3712a165119417960e14e' + '8af2e1dd0a1cf1a55118f1c93d0c7ad5312562faa2ba06af73d2ebd0e32795e7') prepare() { cd "${srcdir}/${_realname}-${pkgver}" + # https://github.com/lsd-rs/lsd/pull/1021 + patch -Np1 -i "${srcdir}"/1021.patch + cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')" }