27 lines
775 B
Bash
27 lines
775 B
Bash
# Template file for 'alacritty'
|
|
pkgname=alacritty
|
|
version=0.1.0.20170614
|
|
revision=1
|
|
_commit=3c8514ba103d5d987d2269c421a3cc09e6784904
|
|
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=c384b7d76d04d0cf47722570b6c59739226e6a41a37bf7348c00510043261887
|
|
|
|
nocross=yes
|
|
|
|
do_build() {
|
|
cargo build --release
|
|
}
|
|
|
|
do_install() {
|
|
vbin target/release/$pkgname
|
|
vinstall Alacritty.desktop 644 usr/share/applications
|
|
vlicense LICENSE-APACHE LICENSE
|
|
}
|