diff options
author | Daniel Eklöf | 2021-11-15 09:48:21 +0100 |
---|---|---|
committer | Daniel Eklöf | 2021-11-15 09:48:21 +0100 |
commit | c1d953faa1c681daf56a5dfa7bdd1d55ac2530b0 (patch) | |
tree | 37c2b22faeb21d587974a89c49ca0fba4c8113d9 /PKGBUILD | |
parent | 099595bc0b2de66aca06bf2e8856d32a7bafcdc6 (diff) | |
download | aur-c1d953faa1c681daf56a5dfa7bdd1d55ac2530b0.tar.gz |
Package themes in a separate package, foot-themes-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 23 insertions, 4 deletions
@@ -30,9 +30,9 @@ PGO=auto pkgdesc='Wayland terminal emulator - fast, lightweight and minimalistic' -pkgname=foot-git +pkgname=(foot-git foot-themes-git) pkgver=1.10.0 -pkgrel=1 +pkgrel=2 conflicts=('foot') provides=('foot') arch=('x86_64' 'aarch64') @@ -42,6 +42,7 @@ makedepends=('meson' 'ninja' 'scdoc' 'python' 'wayland-protocols' 'tllist') # â checkdepends=('check') depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'libutf8proc' 'ncurses' 'fcft') optdepends=("foot-terminfo: alternative to ncurses' terminfo, with additional non-standard capabilities" + "foot-themes: color schemes" "libnotify: desktop notifications" "xdg-utils: URI launching" "bash-completion: bash completions for foot itself") @@ -55,7 +56,13 @@ pkgver() { build() { cd foot - ./pgo/pgo.sh ${PGO} . build --prefix=/usr --wrap-mode=nodownload -Dterminfo=disabled + ./pgo/pgo.sh \ + ${PGO} \ + . build \ + --prefix=/usr \ + --wrap-mode=nodownload \ + -Dterminfo=disabled \ + -Dthemes=false } check() { @@ -63,8 +70,20 @@ check() { ninja -C build test } -package() { +package_foot-git() { cd foot DESTDIR="${pkgdir}/" ninja -C build install install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/foot/LICENSE" } + +package_foot-themes-git() { + pkgdesc="Color schemes for the foot terminal emulator" + conflicts=(foot-themes) + provides=(foot-themes) + depends=(foot) + optdepends=() + arch=(any) + cd foot + install -d "${pkgdir}/usr/share/foot/themes" + install -m 644 themes/* "${pkgdir}/usr/share/foot/themes/" +} |