diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-07 14:58:42 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-11-07 14:58:42 +0000 |
| commit | a08f4bc5515f011808e16d6f4045fa1ca7c2b817 (patch) | |
| tree | cead38c99ed0ae3bfa0478ae0ebd73def988a445 /PKGBUILD | |
| parent | doc: foot.ini: mention “xkbcli interactive-wayland” (diff) | |
PKGBUILD: drop
The bundled PKGBUILD has been pretty much identical to the one in the
AUR package “foot-git” for a long time now.
Diffstat (limited to 'PKGBUILD')
| -rw-r--r-- | PKGBUILD | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/PKGBUILD b/PKGBUILD deleted file mode 100644 index 1f46452a..00000000 --- a/PKGBUILD +++ /dev/null @@ -1,72 +0,0 @@ -# Select PGO (Performance Guided Optimizations) build type. -# -# - auto: choose best available option -# -# - none: disable PGO -# -# - full-current-session: run a “full” PGO build in an existing -# Wayland session. This will pop up a foot window running a script -# that generates random terminal output. -# -# - full-headless-sway: run a “full” PGO build inside a headless Sway -# instance. Requires Sway >= 1.7. -# -# - full-headless-cage: run a “full” PGO build inside a headless Cage -# instance. Requires cage to be installed. Will generate lots of -# Cage warnings, but seems to produce a fully working (and well -# optimized) foot build. -# -# - partial: run a “partial” PGO build. This requires neither a -# running Wayland session, nor an installed Wayland compositor, but -# the resulting binary is slower compared to “full” PGO builds -# (though still faster than regular release builds). -# -# Note that “full-*” (which “auto” will prefer) requires an UTF-8 -# locale. Either make sure LC_CTYPE is set to an UTF-8 locale, or do a -# “partial” PGO build (or disable PGO altoghether). - -PGO=auto - -pkgname=('foot-git' 'foot-terminfo-git') -pkgver=1.9.2 -pkgrel=1 -arch=('x86_64' 'aarch64') -url=https://codeberg.org/dnkl/foot -license=(mit) -depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'libutf8proc' 'fcft>=2.4.0') -makedepends=('meson' 'ninja' 'scdoc' 'python' 'ncurses' 'wayland-protocols' 'tllist>=1.0.4') -source=() - -pkgver() { - cd ../.git &> /dev/null && git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' || - head -3 ../meson.build | grep version | cut -d "'" -f 2 -} - -build() { - ../pgo/pgo.sh ${PGO} .. . --prefix=/usr --wrap-mode=nofallback -} - -check() { - ninja test -} - -package_foot-git() { - pkgdesc="A wayland native terminal emulator" - changelog=CHANGELOG.md - depends+=('foot-terminfo') - conflicts=('foot') - provides=('foot') - - DESTDIR="${pkgdir}/" ninja install - rm -rf "${pkgdir}/usr/share/terminfo" -} - -package_foot-terminfo-git() { - pkgdesc="Terminfo files for the foot terminal emulator" - depends=('ncurses') - conflicts=('foot-terminfo') - provides=('foot-terminfo') - - install -dm 755 "${pkgdir}/usr/share/terminfo/f/" - cp f/* "${pkgdir}/usr/share/terminfo/f/" -} |
