Date: Saturday, January 29, 2022 @ 14:48:44
  Author: alerque
Revision: 1119831

upgpkg: foot 1.10.3-3

Modified:
  foot/trunk/PKGBUILD

----------+
 PKGBUILD |   19 +++++--------------
 1 file changed, 5 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-01-29 14:38:02 UTC (rev 1119830)
+++ PKGBUILD    2022-01-29 14:48:44 UTC (rev 1119831)
@@ -2,11 +2,12 @@
 # Contributor: Daniel Eklöf <daniel at ekloef dot se>
 
 pkgbase=foot
-pkgdesc='fast, lightweight, and minimalistic Wayland terminal emulator'
-pkgname=($pkgbase $pkgbase-terminfo $pkgbase-themes)
+pkgdesc='Fast, lightweight, and minimalistic Wayland terminal emulator'
+pkgname=($pkgbase $pkgbase-terminfo)
 pkgver=1.10.3
-pkgrel=2
+pkgrel=3
 url=https://codeberg.org/dnkl/$pkgbase
+arch=(x86_64)
 license=(MIT)
 makedepends=(fcft
              fontconfig
@@ -41,9 +42,7 @@
 }
 
 package_foot() {
-    arch=(x86_64)
        optdepends=('foot-terminfo: alternative to ncurses’ terminfo, with 
additional non-standard capabilities'
-                   'foot-themes: color schemes'
                    'libnotify: desktop notifications'
                    'xdg-utils: URI launching')
        depends=(fcft
@@ -55,6 +54,7 @@
                 wayland)
        cd "$pkgbase"
        DESTDIR="$pkgdir" ninja -C build install
+    rm -r "$pkgdir/usr/share/terminfo"
        install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }
 
@@ -66,12 +66,3 @@
        install -Dm0644 -t "$pkgdir/usr/share/terminfo/f/" build/f/*
        install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
 }
-
-package_foot-themes() {
-       pkgdesc+=' (optional color themes)'
-       arch=(any)
-       depends=($pkgbase)
-       cd "$pkgbase"
-       install -Dm0644 -t "$pkgdir/usr/share/foot/themes/" themes/*
-       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}

Reply via email to