2017-02-06 17:38:16 +00:00
|
|
|
# Template file for 'alacritty'
|
|
|
|
pkgname=alacritty
|
2017-03-05 21:12:08 +00:00
|
|
|
version=0.1.0.20170303
|
|
|
|
revision=1
|
|
|
|
_commit=aa76b29ff7dbf4af8d83c9f461889249fe53ea77
|
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-03-05 21:12:08 +00:00
|
|
|
checksum=af1871b77576f4877a8e0c30d03df1901f9b7daa2d57a54bfac9a287dc2ba472
|
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
|
|
|
|
}
|