27 lines
758 B
Bash
27 lines
758 B
Bash
# 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
|
|
|
|
nocross=yes
|
|
|
|
do_build() {
|
|
cargo build --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/$pkgname
|
|
vinstall Alacritty.desktop 644 usr/share/applications
|
|
vlicense LICENSE-APACHE LICENSE
|
|
}
|