# Contributor: Alexander Sack # Maintainer: Alexander Sack pkgname="tpm2-tools" pkgver="4.0_rc2" pkgrel=0 pkgdesc="TPM2 Tools" url="https://github.com/tpm2-software/tpm2-tools/" arch="all" license="BSD-2-Clause" makedepends="tpm2-tss-dev automake autoconf autoconf-archive libtool openssl-dev doxygen linux-headers curl-dev" subpackages="$pkgname-doc" _sourcever="${pkgver/_/-}" source="https://github.com/tpm2-software/tpm2-tools/releases/download/$_sourcever/tpm2-tools-$_sourcever.tar.gz" builddir="$srcdir/$pkgname-$_sourcever" options="!check" prepare() { ./bootstrap } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr make } package() { make DESTDIR="$pkgdir" install } sha512sums="dfdf38f488238f06315493c0a708a9efb104e92e0b149180b13a542fb9fa4ff79199121876a7c0ad64b58f0738d3f11206431fffd1b259a1a50a34f6f34a8250 tpm2-tools-4.0-rc2.tar.gz"