diff --git a/srcpkgs/openpgp-card-tools/template b/srcpkgs/openpgp-card-tools/template index 23e3730701d..b41d1e3bb39 100644 --- a/srcpkgs/openpgp-card-tools/template +++ b/srcpkgs/openpgp-card-tools/template @@ -1,8 +1,9 @@ # Template file for 'openpgp-card-tools' pkgname=openpgp-card-tools -version=0.9.5 +version=0.10.0 revision=1 build_style=cargo +build_helper=qemu hostmakedepends="pkg-config llvm clang" makedepends="nettle-devel pcsclite-devel" depends="pcsclite pcsc-ccid" @@ -11,9 +12,19 @@ maintainer="Jan Christian Grünhage " license="MIT, Apache-2.0" homepage="https://codeberg.org/openpgp-card/openpgp-card-tools" distfiles="https://codeberg.org/openpgp-card/openpgp-card-tools/archive/v${version}.tar.gz" -checksum=11f4900d76ee65b8434c6feccf78aa7c3a09454dc8e46aca10c708cedadffc38 +checksum=2bea380d0038208d5b6bd93cb7580e6522d4f43bc1e429cc977cb678adb061fb post_install() { vlicense "LICENSES/MIT.txt" vdoc "README.md" + + OCT_MANPAGE_OUTPUT_DIR=${PWD}/man vtargetrun target/${RUST_TARGET}/release/oct + for page in man/*; do + vman $page + done + + OCT_COMPLETION_OUTPUT_DIR=${PWD}/completions vtargetrun target/${RUST_TARGET}/release/oct + vcompletion completions/_oct zsh oct + vcompletion completions/oct.fish fish oct + vcompletion completions/oct.bash bash oct }