pkgname=vtebench-git pkgver=0.3.1.52.g9cb3afc pkgrel=1 arch=('x86_64') url=https://github.com/alacritty/vtebench pkgdesc="Generate benchmarks for terminal emulators" license=('Apache') depends=('freetype2' 'fontconfig' 'libxi' 'libxcursor' 'libxrandr') makedepends=('rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 'desktop-file-utils' 'gdb' 'libxcb' 'git') install=vtebench.install provides=(vtebench) conflicts=(vtebench) source=(git+https://github.com/alacritty/vtebench) sha256sums=('SKIP') pkgver() { cd vtebench echo "$(grep '^version =' Cargo.toml|head -n1|cut -d\" -f2|cut -d\- -f1).$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)" } build(){ cd vtebench env CARGO_INCREMENTAL=0 cargo build --release --locked } #check(){ # cd vtebench # env CARGO_INCREMENTAL=0 cargo test --release #} package() { cd vtebench install -D -m755 "target/release/vtebench" "$pkgdir/usr/bin/vtebench" }