# Contributor: Petr Vorel # Maintainer: Petr Vorel pkgname=ima-evm-utils pkgver=1.5 pkgrel=1 pkgdesc="Linux Integrity Measurement Architecture (IMA) Extended Verification Module (EVM) tools" url="https://github.com/mimizohar/ima-evm-utils" arch="all" license="LGPL-2.1-or-later" makedepends=" asciidoc attr-dev autoconf automake bash diffutils docbook-xsl keyutils-dev libtool libxslt linux-headers openssl-dev>3 tpm2-tss-dev xxd " checkdepends=" bash diffutils e2fsprogs e2fsprogs-extra gawk util-linux-misc " subpackages="$pkgname-libs $pkgname-dev $pkgname-doc" source="https://github.com/mimizohar/ima-evm-utils/releases/download/v$pkgver/ima-evm-utils-$pkgver.tar.gz" case "$CARCH" in armv7) # sign_verify signatures fail options="$options !check" ;; esac prepare() { default_prepare ./autogen.sh } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --disable-static make } check() { make check || { cat tests/test-suite.log return 1 } } package() { make DESTDIR="$pkgdir" install } sha512sums=" a1f0f2441dd1c41044f1b9a2151c53a02ed539dc1317950c4f8d72ec6340b2ac464bd572e6b0971bc2fe5dcc1842013f5698fe1bf2de92524ae0891c24daa417 ima-evm-utils-1.5.tar.gz "