[arch-commits] Commit in tpm2-tss/repos (2 files)

Filipe Laíns ffy00 at archlinux.org
Mon Sep 16 11:33:54 UTC 2019


    Date: Monday, September 16, 2019 @ 11:33:53
  Author: ffy00
Revision: 510871

archrelease: copy trunk to community-testing-x86_64

Added:
  tpm2-tss/repos/community-testing-x86_64/
  tpm2-tss/repos/community-testing-x86_64/PKGBUILD
    (from rev 510870, tpm2-tss/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: tpm2-tss/repos/community-testing-x86_64/PKGBUILD (from rev 510870, tpm2-tss/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-09-16 11:33:53 UTC (rev 510871)
@@ -0,0 +1,35 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=tpm2-tss
+pkgver=2.3.1
+pkgrel=1
+pkgdesc="Implementation of the TCG Trusted Platform Module 2.0 Software Stack (TSS2)"
+arch=(x86_64)
+url="https://github.com/tpm2-software/tpm2-tss"
+license=(BSD)
+depends=(openssl)
+makedepends=(doxygen)
+checkdepends=(cmocka ibm-sw-tpm2 iproute2 procps-ng uthash)
+source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('7096576c1946b85ec9c92b39e0ed3409ec01bdb97d7863ead033243d5433dee7'
+            'SKIP')
+validpgpkeys=(D760B790CCF0A41CBE7B047C316CC1FB24ABDC72 # Tadeusz Struk <tadeusz.struk at intel.com>
+              D6B4D8BAC7E0CC97DCD4AC7272E88B53F7A95D84) #Andreas Fuchs <andreas.fuchs at sit.fraunhofer.de>
+
+build() {
+    cd ${pkgname}-${pkgver}
+    ./configure --prefix=/usr --with-udevrulesprefix=60- $( ((CHECKFUNC)) && echo --enable-unit --enable-integration)
+    make
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+    make check
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+    echo 'u tss - "tss user for tpm2"' | install -Dm644 /dev/stdin "${pkgdir}"/usr/lib/sysusers.d/${pkgname}.conf
+}


More information about the arch-commits mailing list