[arch-commits] Commit in tpm2-tools/trunk (PKGBUILD)

Bruno Pagani archange at archlinux.org
Mon Sep 16 20:11:55 UTC 2019


    Date: Monday, September 16, 2019 @ 20:11:54
  Author: archange
Revision: 510931

Fix PKGBUILD, rebuild

Modified:
  tpm2-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-16 19:52:30 UTC (rev 510930)
+++ PKGBUILD	2019-09-16 20:11:54 UTC (rev 510931)
@@ -3,7 +3,7 @@
 
 pkgname=tpm2-tools
 pkgver=4.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Trusted Platform Module 2.0 tools based on tpm2-tss"
 arch=(x86_64)
 url="https://github.com/tpm2-software/tpm2-tools"
@@ -10,22 +10,19 @@
 license=(BSD)
 depends=(curl openssl tpm2-tss)
 optdepends=('tpm2-abrmd: user space resource manager')
-makedepends=('tpm2-abrmd' 'ibm-sw-tpm2' 'python-yaml' 'pandoc' 'vim')
-checkdepends=(cmocka) 
+makedepends=(pandoc)
+checkdepends=(cmocka ibm-sw-tpm2 python-yaml tpm2-abrmd xxd)
 source=("$url/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
-sha256sums=('1e2c6946072235ab903777aa7db0191ab3d87167587dd164d4375b7790e4e00a'
-            'SKIP')
+sha256sums=('1e2c6946072235ab903777aa7db0191ab3d87167587dd164d4375b7790e4e00a' 'SKIP')
 validpgpkeys=(5B482B8E3E19DA7C978E1D016DE2E9078E1F50C1  # William Roberts (Bill Roberts) <william.c.roberts at intel.com>
-              D75ED7AA24E50CD645C6F457C751E590D63F3D69  # Javier Martinez Canillas <javierm at redhat.com>
-              5BEC526CE3A61CAF07E7A7DA49BCAE5443FFFC34) # Joshua Lock <joshua.g.lock at intel.com>
+              6313E6DC41AAFC315A8760A414986F6944B1F72B) # Desai, Imran (idesai-github-gpg) <imran.desai at intel.com>
 
 build() {
     cd ${pkgname}-${pkgver}
     ./configure \
-        --enable-unit \
         --sysconfdir=/etc \
-        --prefix=/usr
-        make
+        --prefix=/usr $( ((CHECKFUNC)) && echo --enable-unit)
+    make
 }
 
 check() {


More information about the arch-commits mailing list