2017-02-06 18:38:16 +01:00
|
|
|
# Template file for 'alacritty'
|
|
|
|
pkgname=alacritty
|
2017-09-19 01:48:40 +02:00
|
|
|
version=0.1.0.20170911
|
2017-03-05 22:12:08 +01:00
|
|
|
revision=1
|
2017-09-19 01:48:40 +02:00
|
|
|
_commit=eb231b3e70b87875df4bdd1974d5e94704024d70
|
2017-06-16 21:18:17 +02:00
|
|
|
wrksrc="${pkgname}-${_commit}"
|
2017-02-06 18:38:16 +01:00
|
|
|
hostmakedepends="rust cargo cmake pkg-config"
|
|
|
|
makedepends="freetype-devel fontconfig-devel"
|
2017-02-22 23:38:38 +01:00
|
|
|
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"
|
2017-06-16 21:18:17 +02:00
|
|
|
distfiles="${homepage}/archive/${_commit}.tar.gz"
|
2017-09-19 01:48:40 +02:00
|
|
|
checksum=1d697f08bb4a63142d6ca36b2eaef0ce92cbd13eb029b1a393fcca691237bd1c
|
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
|
|
|
|
}
|