From d782cbf10cbb769b13f8bdd79cdcaf0d77794c36 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Thu, 3 Aug 2017 21:57:18 +0000 Subject: [PATCH] New package: exa-0.7.0 --- srcpkgs/exa/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/exa/template diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template new file mode 100644 index 00000000000..f14b6442d67 --- /dev/null +++ b/srcpkgs/exa/template @@ -0,0 +1,24 @@ +# Template file for 'exa' +pkgname=exa +version=0.7.0 +revision=1 +hostmakedepends="rust cargo cmake" +makedepends="libgit2-devel" +short_desc="A replacement for ls" +maintainer="Michael Gehring " +license="MIT" +homepage="https://the.exa.website/" +distfiles="https://github.com/ogham/exa/archive/v${version}.tar.gz" +checksum=1be554f28a234741cdc336891996969c49c16c80c8ca84dedb05e76b4ccac709 + +do_build() { + cargo build --release +} + +do_install() { + vbin target/release/exa + vman contrib/man/exa.1 + vinstall contrib/completions.bash 0644 usr/share/bash-completions exa + vinstall contrib/completions.zsh 0644 usr/share/zsh/site-functions _exa + vlicense LICENCE +}