summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 15cb6aff4815ea3ed07b53d758a420c86ca1def7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Chinmay Dalal <00foahcd7@mozmail.com>

pkgname=wezterm-terminfo-git
pkgver=r6423.g43f2265ef
pkgrel=1
pkgdesc="Terminfo for wezterm"
arch=(x86_64)
url="https://wezfurlong.org/wezterm"
license=(MIT)
depends=()
makedepends=(ncurses)
source=("git+https://github.com/wez/wezterm.git")
sha256sums=('SKIP')

pkgver() {
  printf "r%s.g%s" "$(git -C "${pkgname%-terminfo-git}" rev-list --count HEAD)" "$(git -C "${pkgname%-terminfo-git}" rev-parse --short HEAD)"
}

package() {
  mkdir -p "$pkgdir/usr/share/terminfo"
  tic -x -o "$pkgdir/usr/share/terminfo" "${pkgname%-terminfo-git}/termwiz/data/wezterm.terminfo"
}