# Template file for 'clevis'
pkgname=clevis
version=20
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"
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=67eb9cbbb9c90f9802cae76503f74f23d0046ee6570553407035e9fae3b4b4dd
make_check="ci-skip" # LUKS tests fail in CI pipeline

post_install() {
	vlicense COPYING.openssl
}
