void-packages/srcpkgs/alacritty/template
2017-03-05 22:12:08 +01:00

27 lines
769 B
Bash

# Template file for 'alacritty'
pkgname=alacritty
version=0.1.0.20170303
revision=1
_commit=aa76b29ff7dbf4af8d83c9f461889249fe53ea77
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=af1871b77576f4877a8e0c30d03df1901f9b7daa2d57a54bfac9a287dc2ba472
nocross=yes
do_build() {
cargo build --release
}
do_install() {
vbin target/release/$pkgname
vinstall Alacritty.desktop 644 usr/share/applications
vlicense LICENSE-APACHE LICENSE
}