From 921b716a89de3a3d0e2fb9598323a42ad62757de Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 20 Jan 2023 00:36:14 +0530 Subject: [PATCH] broot: include manpage --- srcpkgs/broot/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/srcpkgs/broot/template b/srcpkgs/broot/template index ffa183997e55..dce15dd740f0 100644 --- a/srcpkgs/broot/template +++ b/srcpkgs/broot/template @@ -1,14 +1,14 @@ # Template file for 'broot' pkgname=broot version=1.18.0 -revision=1 +revision=2 build_style=cargo short_desc="Interactive directory tree view, fuzzy search, balanced BFS descent" maintainer="cinerea0 " license="MIT" homepage="https://dystroy.org/broot/" -changelog="https://raw.githubusercontent.com/Canop/broot/master/CHANGELOG.md" -distfiles="https://github.com/Canop/broot/archive/v${version}.tar.gz" +changelog="https://raw.githubusercontent.com/Canop/broot/main/CHANGELOG.md" +distfiles="https://github.com/Canop/broot/archive/refs/tags/v${version}.tar.gz" checksum=b195fa6b47b282a8f4baa3b7eb69fa6fd2f3fde80238bd5fe70c4dd4ae288610 if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then @@ -22,4 +22,9 @@ esac post_install() { vlicense LICENSE + + cp man/page broot.1 + vsed -e "s/#version/${version}/g" -i broot.1 + vsed -e "s/#date/$(date +'%Y\/%m\/%d')/g" -i broot.1 + vman broot.1 }