extra/eza to 0.18.13-1

This commit is contained in:
Kevin Mihelich 2024-04-25 18:19:46 +00:00
parent b4f8332c89
commit c6c74b8659
2 changed files with 22 additions and 16 deletions

View file

@ -1,18 +1,21 @@
pkgbase = eza
pkgdesc = A modern replacement for ls (community fork of exa)
pkgver = 0.18.11
pkgver = 0.18.13
pkgrel = 1
url = https://github.com/eza-community/eza
arch = x86_64
license = MIT
makedepends = cargo
makedepends = pandoc
depends = gcc-libs
depends = glibc
depends = libgit2
depends = libgit2.so
provides = exa
conflicts = exa
replaces = exa
source = eza-0.18.11.tar.gz::https://github.com/eza-community/eza/archive/v0.18.11.tar.gz
sha256sums = 92d810c36ac67038e2ed3c421087de8793eb0b9de332c9239096df9d52eb30e3
b2sums = 7e49ed0cf4d701138549494f63fd09cda5eea2827dc86b849048e9aecbd374edf022c2120eac13f19bac5cfd890033e3ebfe456e3e11bf9ba23eed3a61ee0669
source = https://github.com/eza-community/eza/archive/v0.18.13/eza-0.18.13.tar.gz
sha256sums = 679fd3b5b389553aa77a2bce496e8658848ef0f4624968fd1a330dbe92032438
b2sums = 1d84298f8fe950399acaa457b452e85ec9540242bdefc2d542f75bb339b82b8a861f4032b85d9240fde74397a678cd792bf81cb59bda0fb5b7442ee30f43d8b3
pkgname = eza

View file

@ -6,28 +6,31 @@
# - remove makedepend on pandoc, don't build/install manpages
pkgname=eza
pkgver=0.18.11
pkgver=0.18.13
pkgrel=1
pkgdesc="A modern replacement for ls (community fork of exa)"
url="https://github.com/eza-community/eza"
arch=("x86_64")
license=("MIT")
provides=('exa')
replaces=('exa')
conflicts=('exa')
depends=('libgit2.so')
makedepends=("cargo")
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/eza-community/eza/archive/v${pkgver}.tar.gz")
sha256sums=('92d810c36ac67038e2ed3c421087de8793eb0b9de332c9239096df9d52eb30e3')
b2sums=('7e49ed0cf4d701138549494f63fd09cda5eea2827dc86b849048e9aecbd374edf022c2120eac13f19bac5cfd890033e3ebfe456e3e11bf9ba23eed3a61ee0669')
arch=(x86_64)
license=(MIT)
provides=(exa)
replaces=(exa)
conflicts=(exa)
depends=(gcc-libs # libgcc_s.so
glibc # libc.so libm.so
libgit2 libgit2.so)
makedepends=("cargo" "pandoc")
source=("$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
sha256sums=('679fd3b5b389553aa77a2bce496e8658848ef0f4624968fd1a330dbe92032438')
b2sums=('1d84298f8fe950399acaa457b452e85ec9540242bdefc2d542f75bb339b82b8a861f4032b85d9240fde74397a678cd792bf81cb59bda0fb5b7442ee30f43d8b3')
prepare() {
cd "${pkgname}-${pkgver}"
cargo fetch --locked
cargo fetch --locked --target "$(rustc -vV | sed -n 's/host: //p')"
}
build() {
cd "${pkgname}-${pkgver}"
CFLAGS+=' -ffat-lto-objects'
cargo build --frozen --release
mkdir -p target/man
#for manpage in eza.1 eza_colors.5 eza_colors-explanation.5; do