Skip to content

Commit

Permalink
lsd: add patch to update lockfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ognevny committed Mar 26, 2024
1 parent fa7ce02 commit 78c7a3a
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions mingw-w64-lsd/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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')"
}

Expand Down

0 comments on commit 78c7a3a

Please sign in to comment.