# Description: foot terminfo
# URL: https://codeberg.org/dnkl/foot
# Maintainer: Tim Biermann, tbier at posteo dot de

name=foot-terminfo
version=1.15.2
release=1
source=(https://codeberg.org/dnkl/foot/archive/$version.tar.gz)

build() {
  cd foot

  sed 's/@default_terminfo@/foot/g' foot.info | \
   tic -x -o build -e foot,foot-direct -

  install -dm 755 $PKG/usr/share/terminfo/f/
  cp build/f/* $PKG/usr/share/terminfo/f/
}
