# Template file for 'clevis'
pkgname=clevis
version=23
revision=1
build_style=meson
hostmakedepends="asciidoc bash-completion cryptsetup curl jq keyutils pkg-config tpm2-tools"
makedepends="bash-completion cryptsetup-devel dracut jansson-devel
 jose-devel libaudit-devel luksmeta-devel udisks2-devel"
depends="bash cryptsetup curl libpwquality tpm2-tools luksmeta jose"
short_desc="Pluggable framework for automated decryption"
maintainer="Johannes Heimansberg <git@jhe.dedyn.io>"
license="GPL-3.0-or-later WITH custom:OpenSSL-Exception"
homepage="https://github.com/latchset/clevis"
distfiles="https://github.com/latchset/clevis/archive/v${version}/clevis-${version}.tar.gz"
checksum=a8a09f148d54d91aa0d21c5fa508dd1446c2a200be7679fbf6e7d19196aec164
make_check="ci-skip" # LUKS tests fail in CI pipeline

post_install() {
	vlicense COPYING.openssl
}
