void-packages/srcpkgs/alacritty/template

28 lines
758 B
Bash
Raw Normal View History

2017-02-06 18:38:16 +01:00
# Template file for 'alacritty'
pkgname=alacritty
2017-02-22 14:23:25 +01:00
version=0.1.0.20170218
2017-02-06 18:38:16 +01:00
revision=1
2017-02-22 14:23:25 +01:00
_commit=418df72a077cd85b14cbede78e281bb224515a40
2017-02-06 18:38:16 +01:00
wrksrc="$pkgname-$_commit"
hostmakedepends="rust cargo cmake pkg-config"
makedepends="freetype-devel fontconfig-devel"
depends="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"
2017-02-22 14:23:25 +01:00
checksum=e3d8fa79854a62c08ded2c1fad5c369d389443314c8a0ddd833f08c86b0db17d
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
}