void-packages/srcpkgs/exa/template
2021-10-31 22:26:09 -04:00

30 lines
939 B
Bash

# Template file for 'exa'
pkgname=exa
version=0.10.1
revision=1
build_style=cargo
hostmakedepends="pkg-config libgit2-devel"
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
https://github.com/ogham/exa/releases/download/v${version}/exa-accoutrements-v${version}.zip"
checksum="ff0fa0bfc4edef8bdbbb3cabe6fdbd5481a71abbbcc2159f402dea515353ae7c
531596a1ef2a757c7728087529528150e6eb52bb8224fe575aa00a5f1b762849"
post_extract() {
mkdir -p accoutrements
mv ../man accoutrements/
mv ../completions accoutrements/
}
post_install() {
vman accoutrements/man/exa.1
vman accoutrements/man/exa_colors.5
vcompletion completions/completions.bash bash
vcompletion completions/completions.fish fish
vcompletion completions/completions.zsh zsh
vlicense LICENCE
}