extra/kitty to 0.29.2-2

This commit is contained in:
Kevin Mihelich 2023-09-04 23:59:52 +00:00
parent 5f7fd718f7
commit 8b6fb6df69

View file

@ -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
}