2017-08-03 23:57:18 +02:00
|
|
|
# Template file for 'exa'
|
|
|
|
pkgname=exa
|
2017-10-02 11:59:24 +02:00
|
|
|
version=0.8.0
|
2017-08-03 23:57:18 +02:00
|
|
|
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"
|
2017-10-02 11:59:24 +02:00
|
|
|
checksum=07085fd784d553b7c3b62b5a52e4635580d6154f47e6d64245ec0588638dee3e
|
2017-08-04 00:04:50 +02:00
|
|
|
nocross=yes # rust
|
2017-08-03 23:57:18 +02:00
|
|
|
|
2017-10-02 12:24:13 +02:00
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
|
|
i686*) broken="https://build.voidlinux.eu/builders/i686_builder/builds/5146/steps/shell_3/logs/stdio";;
|
|
|
|
esac
|
|
|
|
|
2017-08-03 23:57:18 +02: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
|
|
|
|
}
|