From ebfc3605efd6b0a1732d02a0766d7a274f85b86a Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Fri, 28 Oct 2022 17:19:59 +0200 Subject: [PATCH] vhs: update to 0.2.0 --- srcpkgs/vhs/files/README.voidlinux | 7 +++++++ srcpkgs/vhs/template | 11 ++++++----- 2 files changed, 13 insertions(+), 5 deletions(-) create mode 100644 srcpkgs/vhs/files/README.voidlinux diff --git a/srcpkgs/vhs/files/README.voidlinux b/srcpkgs/vhs/files/README.voidlinux new file mode 100644 index 000000000000..3963b2bd78e0 --- /dev/null +++ b/srcpkgs/vhs/files/README.voidlinux @@ -0,0 +1,7 @@ +To record tapes, vhs requires a chrome-like browser, +e.g. from the chromium package. + +If not already installed, vhs will attempt to download and cache +a prebuilt Chrome binary, which fails on unsupported targets. + +See https://go-rod.github.io/#/compatibility?id=os for more info. diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template index d05a04fa5e05..e7e7a22153c9 100644 --- a/srcpkgs/vhs/template +++ b/srcpkgs/vhs/template @@ -1,6 +1,6 @@ # Template file for 'vhs' pkgname=vhs -version=0.1.0 +version=0.2.0 revision=1 build_style=go build_helper=qemu @@ -12,17 +12,18 @@ maintainer="Marcin Puc " license="MIT" homepage="https://github.com/charmbracelet/vhs" distfiles="https://github.com/charmbracelet/vhs/archive/refs/tags/v${version}.tar.gz" -checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b +checksum=3be752dafa1d5637cd3feb5ea72f9396d2ffb7d559a10eff26f430d4a7540689 post_install() { + vdoc "${FILESDIR}/README.voidlinux" vlicense LICENSE - VHS="${DESTDIR}/usr/bin/vhs" + local vhs="${DESTDIR}/usr/bin/vhs" for shell in bash fish zsh; do - vtargetrun ${VHS} completion ${shell} > vhs.${shell} + vtargetrun ${vhs} completion ${shell} > vhs.${shell} vcompletion vhs.${shell} ${shell} done - vtargetrun ${VHS} manual > vhs.1 + vtargetrun ${vhs} manual > vhs.1 vman vhs.1 }