From 68445221a8271b7301a4ad7dab44e24013c8a651 Mon Sep 17 00:00:00 2001 From: FollieHiyuki Date: Sun, 4 Apr 2021 23:31:03 +0300 Subject: [PATCH] exa: update to 0.10.0; adopt --- srcpkgs/exa/template | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/srcpkgs/exa/template b/srcpkgs/exa/template index 5ea748de3627..ea3ad487fa43 100644 --- a/srcpkgs/exa/template +++ b/srcpkgs/exa/template @@ -1,21 +1,30 @@ # Template file for 'exa' pkgname=exa -version=0.9.0 -revision=2 +version=0.10.0 +revision=1 build_style=cargo -hostmakedepends="pkg-config" +hostmakedepends="pkg-config libgit2-devel" makedepends="libgit2-devel" short_desc="Modern replacement for ls" -maintainer="Orphaned " +maintainer="FollieHiyuki " license="MIT" homepage="https://the.exa.website/" -distfiles="https://github.com/ogham/exa/archive/v${version}.tar.gz" -checksum=@facbe3b234f403e1e1919f28f009f1733a0fbbbb11f0bc2ba89ac3eba11bc5e8 +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="27420f7b805941988399d63f388be4f6077eee94a505bf01c2fb0e7d15cbf78d + c1ab340af63e64bc3fd854c03f6161aa240a533e928688036a7d4544aecabc05" + +post_extract() { + mkdir -p accoutrements + mv ../man accoutrements/ + mv ../completions accoutrements/ +} post_install() { - vman contrib/man/exa.1 - vcompletion contrib/completions.bash bash - vcompletion contrib/completions.fish fish - vcompletion contrib/completions.zsh zsh + 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 }