31 lines
872 B
Bash
31 lines
872 B
Bash
# Template file for 'vhs'
|
|
pkgname=vhs
|
|
version=0.7.2
|
|
revision=1
|
|
build_style=go
|
|
build_helper=qemu
|
|
go_import_path="github.com/charmbracelet/vhs"
|
|
go_ldflags="-X main.Version=v${version}"
|
|
depends="ffmpeg ttyd"
|
|
short_desc="Your CLI home video recorder"
|
|
maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
|
license="MIT"
|
|
homepage="https://github.com/charmbracelet/vhs"
|
|
changelog="https://github.com/charmbracelet/vhs/releases"
|
|
distfiles="https://github.com/charmbracelet/vhs/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=9be4b88a638336f6bba913f391b0300549280246e08d26cbd5053b63c60ee40c
|
|
|
|
post_install() {
|
|
vdoc "${FILESDIR}/README.voidlinux"
|
|
vlicense LICENSE
|
|
|
|
local vhs="${DESTDIR}/usr/bin/vhs"
|
|
for shell in bash fish zsh; do
|
|
vtargetrun ${vhs} completion ${shell} > vhs.${shell}
|
|
vcompletion vhs.${shell} ${shell}
|
|
done
|
|
|
|
vtargetrun ${vhs} manual > vhs.1
|
|
vman vhs.1
|
|
}
|