void-packages/srcpkgs/alacritty/template
2017-06-27 15:05:47 +01:00

27 lines
775 B
Bash

# Template file for 'alacritty'
pkgname=alacritty
version=0.1.0.20170624
revision=1
_commit=b4a839aee9784a2d281be1bec87ac6f2ae4a79f0
wrksrc="${pkgname}-${_commit}"
hostmakedepends="rust cargo cmake pkg-config"
makedepends="freetype-devel fontconfig-devel"
depends="libXxf86vm xclip"
short_desc="A cross-platform, GPU-accelerated terminal emulator"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="Apache-2.0"
homepage="https://github.com/jwilm/alacritty"
distfiles="${homepage}/archive/${_commit}.tar.gz"
checksum=293971bf34eb6e9905964d6aae23435a55d99dca1bb99321166b46aaf880d410
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/$pkgname
vinstall Alacritty.desktop 644 usr/share/applications
vlicense LICENSE-APACHE LICENSE
}