void-packages/srcpkgs/openpgp-card-tools/template

26 lines
833 B
Bash

# Template file for 'openpgp-card-tools'
pkgname=openpgp-card-tools
version=0.9.2
revision=2
build_wrksrc="tools"
build_style=cargo
hostmakedepends="pkg-config llvm clang"
makedepends="nettle-devel pcsclite-devel"
depends="pcsclite pcsc-ccid"
short_desc="Tools for inspecting, configuring and using OpenPGP cards"
maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
license="MIT, Apache-2.0"
homepage="https://gitlab.com/openpgp-card/openpgp-card"
distfiles="https://gitlab.com/openpgp-card/openpgp-card/-/archive/tools/v${version}/openpgp-card-tools-v${version}.tar.gz"
checksum=33c27b011aebf57ee1b660f65868bfcb8ffea28c89809414c8654004d4e16706
post_patch() {
# https://gitlab.com/openpgp-card/openpgp-card/-/issues/63
cargo generate-lockfile
}
post_install() {
vlicense "../LICENSES/MIT.txt"
vdoc "README.md"
}