From 0d0d79709ff0b88a654d0e881a11697e8a7d3618 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Fri, 27 Aug 2021 14:44:35 +0200 Subject: [PATCH] foot: update to 1.9.0. --- srcpkgs/foot/template | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/srcpkgs/foot/template b/srcpkgs/foot/template index 3dde8c741f24..5873ca6db29a 100644 --- a/srcpkgs/foot/template +++ b/srcpkgs/foot/template @@ -1,10 +1,12 @@ # Template file for 'foot' pkgname=foot -version=1.8.2 +version=1.9.0 revision=1 wrksrc=$pkgname build_style=meson -configure_args="-Dwerror=false" +# Tell foot not to set TERMINFO as we install the terminfo to the default +# location. +configure_args="-Dwerror=false -Dcustom-terminfo-install-location=no" hostmakedepends="pkg-config scdoc wayland-devel" makedepends="fcft-devel libutf8proc-devel libxkbcommon-devel ncurses-devel tllist wayland-devel wayland-protocols" @@ -15,7 +17,7 @@ license="MIT" homepage="https://codeberg.org/dnkl/foot" changelog="https://codeberg.org/dnkl/foot/src/branch/master/CHANGELOG.md" distfiles="${homepage}/archive/${version}.tar.gz" -checksum=50cf5b9f3cc1ebaafa62255eea22395e8267cce21e119bc6f7ecacf11f15dada +checksum=ddc3f90185ae75badcb2d6abe772d54fd6defebf1ed4111861a9c4afa1c73a4d post_install() { rm -f ${DESTDIR}/usr/share/doc/foot/LICENSE @@ -25,6 +27,11 @@ post_install() { foot-terminfo_package() { short_desc+=" - terminfo data" pkg_install() { - vmove usr/share/terminfo + vmove usr/share/foot/terminfo + + # Install the terminfo to the default location instead. This follows the + # new upstream recommendations: https://codeberg.org/dnkl/foot/issues/695 + vcopy ${PKGDESTDIR}/usr/share/foot/terminfo usr/share/terminfo + rm -r ${PKGDESTDIR}/usr/share/foot/terminfo } }