void-packages/srcpkgs/exa/template

26 lines
682 B
Bash
Raw Normal View History

2017-08-03 21:57:18 +00:00
# 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 <mg@ebfe.org>"
license="MIT"
homepage="https://the.exa.website/"
distfiles="https://github.com/ogham/exa/archive/v${version}.tar.gz"
checksum=1be554f28a234741cdc336891996969c49c16c80c8ca84dedb05e76b4ccac709
2017-08-03 22:04:50 +00:00
nocross=yes # rust
2017-08-03 21:57:18 +00:00
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
}