extra/eza to 0.18.21-1

This commit is contained in:
David Beauchamp 2024-07-01 08:45:28 -04:00
parent 5ef97fef42
commit d01a3353a8
2 changed files with 10 additions and 18 deletions

View file

@ -1,7 +1,7 @@
pkgbase = eza
pkgdesc = A modern replacement for ls (community fork of exa)
pkgver = 0.18.20
pkgrel = 3
pkgver = 0.18.21
pkgrel = 1
url = https://github.com/eza-community/eza
arch = x86_64
license = MIT
@ -14,12 +14,9 @@ pkgbase = eza
provides = exa
conflicts = exa
replaces = exa
source = https://github.com/eza-community/eza/archive/v0.18.20/eza-0.18.20.tar.gz
source = https://github.com/eza-community/eza/commit/30d78ba5.patch
sha256sums = f85a7c1a1859e4fb7913d9517bd5fd04714811562b631a71705077c5aceacd78
sha256sums = 92f07966466768f2e075539afcd255dca709f7b53a30f49d04d7f1ee44921e3f
b2sums = 45f58aec92ca74bc9cfad10898cfa96e3ad1be861473c612ce2b45efb31bd8df33ea7ee8f1daab350b1280931c99b22aa49910c1e5d2413a83114ed9718b213e
b2sums = f9f11ea49a0a7bdbaebdd8669e0722803b28281fdeb39dea79ef59bb7b714638c00ae3900e4d9f56fabb12e7a86b3ba928ad46a7fc67274f3992b687cd91dbbb
source = https://github.com/eza-community/eza/archive/v0.18.21/eza-0.18.21.tar.gz
sha256sums = 53cee12706be2b5bedcf40b97e077a18b254f0f53f1aee52d1d74136466045bc
b2sums = 94d0a0d71d406a2d43edc715f6fce2bd18a9c38f53c788a0e1784b3ac309afef6b8c9223f1468515a1d308a969808caa646ce18b4c6a0f9a2fdf4559ddc32879
pkgname = eza
depends = gcc-libs

View file

@ -6,8 +6,8 @@
# - remove makedepend on pandoc, don't build/install manpages
pkgname=eza
pkgver=0.18.20
pkgrel=3
pkgver=0.18.21
pkgrel=1
pkgdesc="A modern replacement for ls (community fork of exa)"
url="https://github.com/eza-community/eza"
arch=(x86_64)
@ -20,18 +20,13 @@ depends=(gcc-libs # libgcc_s.so
libgit2
zlib)
makedepends=(cargo)
source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
"$url/commit/30d78ba5.patch")
sha256sums=('f85a7c1a1859e4fb7913d9517bd5fd04714811562b631a71705077c5aceacd78'
'92f07966466768f2e075539afcd255dca709f7b53a30f49d04d7f1ee44921e3f')
b2sums=('45f58aec92ca74bc9cfad10898cfa96e3ad1be861473c612ce2b45efb31bd8df33ea7ee8f1daab350b1280931c99b22aa49910c1e5d2413a83114ed9718b213e'
'f9f11ea49a0a7bdbaebdd8669e0722803b28281fdeb39dea79ef59bb7b714638c00ae3900e4d9f56fabb12e7a86b3ba928ad46a7fc67274f3992b687cd91dbbb')
source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('53cee12706be2b5bedcf40b97e077a18b254f0f53f1aee52d1d74136466045bc')
b2sums=('94d0a0d71d406a2d43edc715f6fce2bd18a9c38f53c788a0e1784b3ac309afef6b8c9223f1468515a1d308a969808caa646ce18b4c6a0f9a2fdf4559ddc32879')
prepare() {
cd "${pkgname}-${pkgver}"
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
# Backport ZSH completions fix, see https://github.com/eza-community/eza/issues/1038
patch -p1 -i ../30d78ba5.patch
}
build() {