From 8b6fb6df6965f0d4e7988fb18be2ae781cec59b4 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 4 Sep 2023 23:59:52 +0000 Subject: [PATCH] extra/kitty to 0.29.2-2 --- extra/kitty/PKGBUILD | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/extra/kitty/PKGBUILD b/extra/kitty/PKGBUILD index fd3d0ca84..65ae3de5f 100644 --- a/extra/kitty/PKGBUILD +++ b/extra/kitty/PKGBUILD @@ -10,7 +10,7 @@ pkgbase=kitty pkgname=(kitty kitty-terminfo kitty-shell-integration) pkgver=0.29.2 -pkgrel=1 +pkgrel=2 pkgdesc="A modern, hackable, featureful, OpenGL-based terminal emulator" arch=('x86_64') url="https://github.com/kovidgoyal/kitty" @@ -27,6 +27,11 @@ validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal build() { cd "$srcdir/$pkgname-$pkgver" CFLAGS+=" -Wno-error=array-bounds" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export CGO_LDFLAGS="${LDFLAGS}" + export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external -mod=readonly -modcacherw" python3 setup.py linux-package --update-check-interval=0 --disable-link-time-optimization }