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

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


    Date: Monday, September 16, 2019 @ 11:34:04
  Author: ffy00
Revision: 510873

archrelease: copy trunk to community-testing-x86_64

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

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

Copied: tpm2-abrmd/repos/community-testing-x86_64/PKGBUILD (from rev 510872, tpm2-abrmd/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2019-09-16 11:34:04 UTC (rev 510873)
@@ -0,0 +1,37 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=tpm2-abrmd
+pkgver=2.2.0
+pkgrel=1
+pkgdesc="Trusted Platform Module 2.0 Access Broker and Resource Management Daemon"
+arch=(x86_64)
+url="https://github.com/tpm2-software/tpm2-abrmd"
+license=(BSD)
+depends=(dbus glib2 tpm2-tss)
+checkdepends=(cmocka ibm-sw-tpm2 net-tools)
+source=("${url}/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha256sums=('2a75a09802290d88f7806d1294b0070f92dd3f138a211834caa4cc04bd876ed1'
+            'SKIP')
+validpgpkeys=(42007E876F248E04A3F2FE25AE4548D043DEC7C3) # Philip Tricca <philip.b.tricca at intel.com>
+
+build() {
+    cd ${pkgname}-${pkgver}
+    ./configure \
+        --prefix=/usr \
+        --sbindir=/usr/bin \
+        --with-dbuspolicydir=/usr/share/dbus-1/system.d \
+        $( ((CHECKFUNC)) && echo --enable-unit --enable-integration)
+    make
+}
+
+check() {
+    cd ${pkgname}-${pkgver}
+    make check
+}
+
+package() {
+    cd ${pkgname}-${pkgver}
+    make DESTDIR="${pkgdir}" install
+    rm -r "${pkgdir}"/usr/lib/systemd/system-preset
+    install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}


More information about the arch-commits mailing list