Subject: [PATCH] community/foot: do not export terminfo

From: opal hart <[email-masked]>
Date: Sat, 14 Aug 2021 11:45:15 +0000

ncurses-terminfo (from at least version 6.2_p20210807-r0) has terminfo
for foot and conflicts with this package. prefer ncurses' version.
---
 community/foot/APKBUILD | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/community/foot/APKBUILD b/community/foot/APKBUILD
index d7e74e78f6..1d30b9c18c 100644
--- a/community/foot/APKBUILD
+++ b/community/foot/APKBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Alex McGrath <[email-masked]>
 pkgname=foot
 pkgver=1.8.2
-pkgrel=0
+pkgrel=1
 pkgdesc="A fast, lightweight and minimalistic Wayland terminal emulator"
 url="https://codeberg.org/dnkl/foot.git"
 arch="all !ppc64le" # ppc64le build fails
@@ -25,7 +25,6 @@ subpackages="
 	$pkgname-bash-completion
 	$pkgname-zsh-completion
 	$pkgname-fish-completion
-	$pkgname-terminfo::noarch
 	"
 source="$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/foot/archive/$pkgver.tar.gz"
 options="!check" # No tests
@@ -43,12 +42,6 @@ package() {
 	mv "$pkgdir"/usr/share/fish/vendor_completions.d "$pkgdir"/usr/share/fish/completions
 }
 
-terminfo() {
-	pkgdesc="$pkgdesc (terminfo data)"
-	install -dm 755 "$subpkgdir/usr/share/terminfo/f/"
-	cp $builddir/output/f/* "$subpkgdir/usr/share/terminfo/f/"
-}
-
 sha512sums="
 8442761f20d8d5e315c2cbf75c40a6fd8e449f6ce515a1a3aac2106b4c9d7c8257ed96b5e1808eb0e9fda448a2a1bbb6b55cfb8d7abd6acb184cabcdc43d5fa5  foot-1.8.2.tar.gz
 "
-- 
2.31.1