2017-02-06 17:38:16 +00:00
|
|
|
# Template file for 'alacritty'
|
|
|
|
pkgname=alacritty
|
2017-06-27 14:05:47 +00:00
|
|
|
version=0.1.0.20170624
|
2017-03-05 21:12:08 +00:00
|
|
|
revision=1
|
2017-06-27 14:05:47 +00:00
|
|
|
_commit=b4a839aee9784a2d281be1bec87ac6f2ae4a79f0
|
2017-06-16 19:18:17 +00:00
|
|
|
wrksrc="${pkgname}-${_commit}"
|
2017-02-06 17:38:16 +00:00
|
|
|
hostmakedepends="rust cargo cmake pkg-config"
|
|
|
|
makedepends="freetype-devel fontconfig-devel"
|
2017-02-22 22:38:38 +00:00
|
|
|
depends="libXxf86vm xclip"
|
2017-02-06 17:38:16 +00: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 19:18:17 +00:00
|
|
|
distfiles="${homepage}/archive/${_commit}.tar.gz"
|
2017-06-27 14:05:47 +00:00
|
|
|
checksum=293971bf34eb6e9905964d6aae23435a55d99dca1bb99321166b46aaf880d410
|
2017-02-06 17:38:16 +00:00
|
|
|
|
2017-02-06 20:38:33 +00:00
|
|
|
nocross=yes
|
|
|
|
|
2017-02-06 17:38:16 +00:00
|
|
|
do_build() {
|
|
|
|
cargo build --release
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vbin target/release/$pkgname
|
|
|
|
vinstall Alacritty.desktop 644 usr/share/applications
|
|
|
|
vlicense LICENSE-APACHE LICENSE
|
|
|
|
}
|