Skip to content
Snippets Groups Projects
Verified Commit 8cc648a9 authored by Caleb Maclennan's avatar Caleb Maclennan
Browse files

upgpkg: 0.18.20-3: Make sure build errors if libgit2 dependency not met

parent d0d8f866
No related branches found
No related tags found
No related merge requests found
pkgbase = eza
pkgdesc = A modern replacement for ls (community fork of exa)
pkgver = 0.18.20
pkgrel = 2
pkgrel = 3
url = https://github.com/eza-community/eza
arch = x86_64
license = MIT
......
......@@ -4,7 +4,7 @@
pkgname=eza
pkgver=0.18.20
pkgrel=2
pkgrel=3
pkgdesc="A modern replacement for ls (community fork of exa)"
url="https://github.com/eza-community/eza"
arch=(x86_64)
......@@ -34,6 +34,9 @@ prepare() {
build() {
cd "${pkgname}-${pkgver}"
# Make sure the build fails if our system libgit2 is out
# of range rather than silently starting to vendor it.
export LIBGIT2_NO_VENDOR=1
CFLAGS+=' -ffat-lto-objects'
cargo build --frozen --release
mkdir -p target/man
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment