Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / eza


Commits:
8cc648a9 by Caleb Maclennan at 2024-06-29T23:09:08+03:00
upgpkg: 0.18.20-3: Make sure build errors if libgit2 dependency not met

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 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


=====================================
PKGBUILD
=====================================
@@ -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



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/eza/-/commit/8cc648a91e407801e6b33e7404acf5cf516309aa

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/eza/-/commit/8cc648a91e407801e6b33e7404acf5cf516309aa
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to