openpgp-card-tools: update to 0.10.0.

This commit is contained in:
Jan Christian Grünhage 2024-03-04 10:34:02 +01:00 committed by classabbyamp
parent 16797f8f07
commit 041fc0670f
1 changed files with 13 additions and 2 deletions

View File

@ -1,8 +1,9 @@
# Template file for 'openpgp-card-tools' # Template file for 'openpgp-card-tools'
pkgname=openpgp-card-tools pkgname=openpgp-card-tools
version=0.9.5 version=0.10.0
revision=1 revision=1
build_style=cargo build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config llvm clang" hostmakedepends="pkg-config llvm clang"
makedepends="nettle-devel pcsclite-devel" makedepends="nettle-devel pcsclite-devel"
depends="pcsclite pcsc-ccid" depends="pcsclite pcsc-ccid"
@ -11,9 +12,19 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT, Apache-2.0" license="MIT, Apache-2.0"
homepage="https://codeberg.org/openpgp-card/openpgp-card-tools" homepage="https://codeberg.org/openpgp-card/openpgp-card-tools"
distfiles="https://codeberg.org/openpgp-card/openpgp-card-tools/archive/v${version}.tar.gz" distfiles="https://codeberg.org/openpgp-card/openpgp-card-tools/archive/v${version}.tar.gz"
checksum=11f4900d76ee65b8434c6feccf78aa7c3a09454dc8e46aca10c708cedadffc38 checksum=2bea380d0038208d5b6bd93cb7580e6522d4f43bc1e429cc977cb678adb061fb
post_install() { post_install() {
vlicense "LICENSES/MIT.txt" vlicense "LICENSES/MIT.txt"
vdoc "README.md" 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
} }