void-packages/srcpkgs/exa/template

21 lines
632 B
Bash

# Template file for 'exa'
pkgname=exa
version=0.9.0
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
short_desc="Modern replacement for ls"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://the.exa.website/"
distfiles="https://github.com/ogham/exa/archive/v${version}.tar.gz"
checksum=@facbe3b234f403e1e1919f28f009f1733a0fbbbb11f0bc2ba89ac3eba11bc5e8
post_install() {
vman contrib/man/exa.1
vinstall contrib/completions.bash 0644 usr/share/bash-completion/completions exa
vinstall contrib/completions.zsh 0644 usr/share/zsh/site-functions _exa
vlicense LICENCE
}