vhs: update to 0.2.0

This commit is contained in:
Marcin Puc 2022-10-28 17:19:59 +02:00 committed by Toyam Cox
parent f671f86355
commit e43bbdf95e
2 changed files with 13 additions and 5 deletions

View File

@ -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.

View File

@ -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 <tranzystorek.io@protonmail.com>"
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
}