# Maintainer: Vincent Grande # Contributor: AntonĂ­n Dach pkgname=wayst-wayland-git pkgver=r146.18a038b pkgrel=1 pkgdesc='Simple terminal emulator for Wayland and X11 with OpenGL rendering and minimal dependencies.' arch=('x86_64') url='https://github.com/91861/wayst' license=('MIT') depends=('freetype2' 'fontconfig' 'libxkbcommon') optdepends=('libutf8proc: unicode normalization') makedepends=('git') provides=('wayst') conflicts=('wayst') source=('git+https://github.com/91861/wayst.git#branch=master') md5sums=('SKIP') pkgver() { cd wayst ( set -o pipefail git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' || printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" ) } build() { cd wayst make window_protocol=wayland } package() { cd wayst mkdir -p "$pkgdir/usr/bin" make INSTALL_DIR="$pkgdir/usr/bin" install }