void-packages/srcpkgs/alacritty/template

28 lines
769 B
Bash
Raw Normal View History

2017-02-06 18:38:16 +01:00
# Template file for 'alacritty'
pkgname=alacritty
2017-04-22 17:04:40 +02:00
version=0.1.0.20170417
2017-03-05 22:12:08 +01:00
revision=1
2017-04-22 17:04:40 +02:00
_commit=d372f2e591020b5824797db826159351d19c3906
2017-02-06 18:38:16 +01:00
wrksrc="$pkgname-$_commit"
hostmakedepends="rust cargo cmake pkg-config"
makedepends="freetype-devel fontconfig-devel"
depends="libXxf86vm xclip"
2017-02-06 18:38:16 +01:00
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"
2017-04-22 17:04:40 +02:00
checksum=a78476e49270212c138551a6644ba17ad3eabb7567c9ca5407392b0f0093e54a
2017-02-06 18:38:16 +01:00
2017-02-06 21:38:33 +01:00
nocross=yes
2017-02-06 18:38:16 +01:00
do_build() {
cargo build --release
}
do_install() {
vbin target/release/$pkgname
vinstall Alacritty.desktop 644 usr/share/applications
vlicense LICENSE-APACHE LICENSE
}