Commit 4fb4ffd5 authored by Leo's avatar Leo
Browse files

testing/tpm2-tools: upgrade to 4.2

parent 907481a8
Pipeline #13751 failed with stages
in 25 seconds
# Contributor: Alexander Sack <asac@pantacor.com>
# Maintainer: Alexander Sack <asac@pantacor.com>
pkgname="tpm2-tools"
pkgver="4.1.1"
pkgname=tpm2-tools
pkgver=4.2
pkgrel=0
pkgdesc="TPM2 Tools"
url="https://github.com/tpm2-software/tpm2-tools/"
arch="all"
license="BSD-2-Clause"
makedepends="tpm2-tss-dev tpm2-tss-rc tpm2-tss-tctildr
openssl-dev curl-dev"
subpackages="$pkgname-doc"
openssl-dev curl-dev util-linux-dev"
subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp:noarch"
_sourcever="${pkgver/_/-}"
source="https://github.com/tpm2-software/tpm2-tools/releases/download/$_sourcever/tpm2-tools-$_sourcever.tar.gz"
builddir="$srcdir/$pkgname-$_sourcever"
options="!check"
......@@ -28,4 +27,12 @@ package() {
make DESTDIR="$pkgdir" install
}
sha512sums="25952cf947f0acd16b1a8dbd3ac8573bce85ff970a7e24c290c4f9cd29418e77a3e48ac82c932fbd250887a9303ab301ff92db594c2fffaba47b873382444d26 tpm2-tools-4.1.1.tar.gz"
bashcomp() {
depends=""
pkgdesc="Bash completions for $pkgname"
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
amove usr/share/bash-completion/completions
}
sha512sums="7aaf549dd77307e5ad93d4b34737d684c8a7384996143124f10b188f5e99860940902cee83538e6957997859420dd430d6d27979b223beae515aab94ac8fb235 tpm2-tools-4.2.tar.gz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment