# Template file for 'alacritty' pkgname=alacritty version=0.1.0.20180705 revision=2 _commit=7433f45ff9c6efeb48e223e90dd4aa9ee135b5e8 wrksrc="${pkgname}-${_commit}" hostmakedepends="rust cargo cmake pkg-config" makedepends="freetype-devel fontconfig-devel" depends="libXxf86vm xclip ncurses" short_desc="A cross-platform, GPU-accelerated terminal emulator" maintainer="Andrea Brancaleoni " license="Apache-2.0" homepage="https://github.com/jwilm/alacritty" distfiles="${homepage}/archive/${_commit}.tar.gz" checksum=51a9e0b0264bc0ba69da51993371493868b82a6b0d8a53a2645f126a84a36063 nocross=yes do_build() { cargo build --release } do_install() { vbin target/release/$pkgname vinstall alacritty.desktop 644 usr/share/applications vinstall alacritty-completions.zsh 644 usr/share/zsh/site-functions _alacritty vinstall alacritty-completions.fish 644 usr/share/fish/completions alacritty.fish vinstall alacritty.info 644 usr/share/terminfo/a vlicense LICENSE-APACHE LICENSE vman alacritty.man alacritty.1 vsconf alacritty.yml } alacritty-terminfo_package() { short_desc+=" - terminfo data" noarch=yes pkg_install() { vmove usr/share/terminfo } }