void-packages/srcpkgs/exa/template

33 lines
1.0 KiB
Bash

# Template file for 'exa'
pkgname=exa
version=0.10.1
revision=4
create_wrksrc=yes
build_wrksrc="${pkgname}-${version}"
build_style=cargo
hostmakedepends="pkg-config"
makedepends="libgit2-devel"
short_desc="Modern replacement for ls"
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
license="MIT"
homepage="https://the.exa.website/"
distfiles="https://github.com/ogham/exa/archive/refs/tags/v${version}.tar.gz
https://github.com/ogham/exa/releases/download/v${version}/exa-accoutrements-v${version}.zip"
checksum="ff0fa0bfc4edef8bdbbb3cabe6fdbd5481a71abbbcc2159f402dea515353ae7c
531596a1ef2a757c7728087529528150e6eb52bb8224fe575aa00a5f1b762849"
patch_args="-Np1 -d ${build_wrksrc}"
post_extract() {
mkdir "${build_wrksrc}/accoutrements"
mv man "${build_wrksrc}/accoutrements/"
}
post_install() {
vcompletion completions/completions.bash bash
vcompletion completions/completions.fish fish
vcompletion completions/completions.zsh zsh
vlicense LICENCE
vman accoutrements/man/exa.1
vman accoutrements/man/exa_colors.5
}