Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions srcpkgs/asciinema/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
# Template file for 'asciinema'
pkgname=asciinema
version=2.4.0
revision=3
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3"
checkdepends="python3-pytest-xdist"
version=3.2.0
revision=1
build_style=cargo
checkdepends="python3"
short_desc="Record and share your terminal sessions, the right way"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://asciinema.org/"
changelog="https://raw.githubusercontent.com/asciinema/asciinema/develop/CHANGELOG.md"
distfiles="https://github.com/asciinema/asciinema/archive/refs/tags/v${version}.tar.gz"
checksum=b0e05f0b5ae7ae4e7186c6bd824e6d670203bb24f1c89ee52fc8fae7254e6091
checksum=247c7c87481f38d7788c1fb1be12021c778676c0d0ab37e529ec528f87f487ce

pre_build() {
export ASCIINEMA_GEN_DIR=assets
}

post_install() {
vdoc README.md
for page in assets/man/*; do
vman ${page}
done
vcompletion assets/completion/_asciinema zsh
vcompletion assets/completion/asciinema.bash bash
vcompletion assets/completion/asciinema.fish fish
}