New package: vhs-0.1.0

This commit is contained in:
Marcin Puc 2022-10-27 18:22:39 +02:00 committed by Toyam Cox
parent 1dd721a2c7
commit 45e7e09a83
1 changed files with 28 additions and 0 deletions

28
srcpkgs/vhs/template Normal file
View File

@ -0,0 +1,28 @@
# Template file for 'vhs'
pkgname=vhs
version=0.1.0
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"
distfiles="https://github.com/charmbracelet/vhs/archive/refs/tags/v${version}.tar.gz"
checksum=7a1d36482dec0ab158bef852fa0f9e90ce6b7011bc9dd56244fd84692e17433b
post_install() {
vlicense LICENSE
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
}