pkgname=kitty-terminfo
pkgbase=kitty
pkgver=0.44.0
pkgdesc="A modern, hackable, featureful, OpenGL-based terminal emulator"
arch=('x86_64')
homepage="https://github.com/kovidgoyal/kitty"
license=('GPL-3.0-only')
sources=("${pkgbase}-${pkgver}.tar.xz")
urls=("https://github.com/kovidgoyal/${pkgbase}/releases/download/v${pkgver}/${sources[0]}")
md5sums=("c3c31e13371c08166cc2bc4ea34cdc74")

src_prepare() {
  tar -xf ${distdir}/${sources[0]} --strip-components=1
}

src_install() {
  mkdir -p "$pkgdir/usr/share/terminfo"
  tic -xo "${pkgdir}"/usr/share/terminfo terminfo/kitty.terminfo
}

# vim:ft=sh syn=sh et sw=2:
