From 5aef09d98861118a9ae364dc5cb7d7736d2bcfcb Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Thu, 27 Oct 2022 18:20:55 +0200 Subject: [PATCH 1/2] ttyd: update to 1.7.2 --- srcpkgs/ttyd/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ttyd/template b/srcpkgs/ttyd/template index 0ed4cb21f952..0d91091e6f25 100644 --- a/srcpkgs/ttyd/template +++ b/srcpkgs/ttyd/template @@ -1,6 +1,6 @@ # Template file for 'ttyd' pkgname=ttyd -version=1.6.3 +version=1.7.2 revision=1 build_style=cmake hostmakedepends="pkg-config xxd" @@ -11,7 +11,7 @@ maintainer="Toyam Cox " license="MIT" homepage="https://tsl0922.github.io/ttyd/" distfiles="https://github.com/tsl0922/ttyd/archive/${version}.tar.gz" -checksum=1116419527edfe73717b71407fb6e06f46098fc8a8e6b0bb778c4c75dc9f64b9 +checksum=edc44cd5319c0c9d0858081496cae36fc5c54ee7722e0a547dde39537dfb63de if [ "$XBPS_TARGET_LIBC" = "musl" ]; then makedepends+=" musl-legacy-compat" From 4a12d6acc86d718cc937d69a0b9ca25edb3bb000 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Thu, 27 Oct 2022 18:22:39 +0200 Subject: [PATCH 2/2] New package: vhs-0.1.0 --- srcpkgs/vhs/template | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/vhs/template diff --git a/srcpkgs/vhs/template b/srcpkgs/vhs/template new file mode 100644 index 000000000000..d05a04fa5e05 --- /dev/null +++ b/srcpkgs/vhs/template @@ -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 " +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 +}