openpgp-card-tools: fix checksum, generate missing lockfile

closes #43482
This commit is contained in:
classabbyamp 2023-06-27 02:28:05 -04:00
parent ab7727a759
commit fc6e337dae
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5

View File

@ -1,7 +1,7 @@
# Template file for 'openpgp-card-tools'
pkgname=openpgp-card-tools
version=0.9.2
revision=1
revision=2
build_wrksrc="tools"
build_style=cargo
hostmakedepends="pkg-config llvm clang"
@ -11,8 +11,13 @@ 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="${homepage}/-/archive/tools/v${version}/${wrksrc}.tar.gz"
checksum=a0276c4fb73cd4b8411963eb4ac8f74956ccbe6f8fc1900e38e20c6e917028d0
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"