diff --git a/srcpkgs/alacritty/template b/srcpkgs/alacritty/template new file mode 100644 index 00000000000..24a6f002e68 --- /dev/null +++ b/srcpkgs/alacritty/template @@ -0,0 +1,25 @@ +# Template file for 'alacritty' +pkgname=alacritty +version=0.1.0.20170206 +revision=1 +_commit=12cd04fea2d49f712226b75922bc2c035729c201 +wrksrc="$pkgname-$_commit" +hostmakedepends="rust cargo cmake pkg-config" +makedepends="freetype-devel fontconfig-devel" +depends="xclip" +short_desc="A cross-platform, GPU-accelerated terminal emulator" +maintainer="Andrea Brancaleoni " +license="Apache-2.0" +homepage="https://github.com/jwilm/alacritty" +distfiles="$homepage/archive/${_commit}.tar.gz" +checksum=d39f46d806b4377f60a62e8431f6b009711859d5e9ebd1462693953792564153 + +do_build() { + cargo build --release +} + +do_install() { + vbin target/release/$pkgname + vinstall Alacritty.desktop 644 usr/share/applications + vlicense LICENSE-APACHE LICENSE +}