archpkgs/foot-terminfo/PKGBUILD

24 lines
598 B
Bash
Raw Normal View History

# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
pkgdesc="Terminfo files for the foot terminal emulator"
pkgname=foot-terminfo
pkgver=1.8.2
pkgrel=1
arch=('any')
url=https://codeberg.org/dnkl/foot
license=(mit)
makedepends=('ncurses')
source=(foot-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz)
sha256sums=('50cf5b9f3cc1ebaafa62255eea22395e8267cce21e119bc6f7ecacf11f15dada')
build() {
cd foot
mkdir -p build
tic -x -o build -e foot,foot-direct foot.info
}
package() {
cd foot
install -dm 755 "${pkgdir}/usr/share/terminfo/f/"
cp build/f/* "${pkgdir}/usr/share/terminfo/f/"
}