2017-02-06 17:38:16 +00:00
|
|
|
# Template file for 'alacritty'
|
|
|
|
pkgname=alacritty
|
2017-02-22 13:23:25 +00:00
|
|
|
version=0.1.0.20170218
|
2017-02-25 17:41:57 +00:00
|
|
|
revision=2
|
2017-02-22 13:23:25 +00:00
|
|
|
_commit=418df72a077cd85b14cbede78e281bb224515a40
|
2017-02-06 17:38:16 +00:00
|
|
|
wrksrc="$pkgname-$_commit"
|
|
|
|
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"
|
|
|
|
distfiles="$homepage/archive/${_commit}.tar.gz"
|
2017-02-22 13:23:25 +00:00
|
|
|
checksum=e3d8fa79854a62c08ded2c1fad5c369d389443314c8a0ddd833f08c86b0db17d
|
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
|
|
|
|
}
|