New package: alacritty-0.1.0.20170206

This commit is contained in:
Andrea Brancaleoni 2017-02-06 18:38:16 +01:00
parent c19330df1f
commit 80cb694457
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Template file for 'alacritty'
pkgname=alacritty
version=0.1.0.20170206
revision=1
_commit=12cd04fea2d49f712226b75922bc2c035729c201
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"
checksum=d39f46d806b4377f60a62e8431f6b009711859d5e9ebd1462693953792564153
do_build() {
cargo build --release
}
do_install() {
vbin target/release/$pkgname
vinstall Alacritty.desktop 644 usr/share/applications
vlicense LICENSE-APACHE LICENSE
}