[arch-commits] Commit in tpm2-tools/repos (2 files)
Filipe Laíns
ffy00 at archlinux.org
Mon Sep 16 11:34:14 UTC 2019
Date: Monday, September 16, 2019 @ 11:34:13
Author: ffy00
Revision: 510875
archrelease: copy trunk to community-testing-x86_64
Added:
tpm2-tools/repos/community-testing-x86_64/
tpm2-tools/repos/community-testing-x86_64/PKGBUILD
(from rev 510874, tpm2-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
Copied: tpm2-tools/repos/community-testing-x86_64/PKGBUILD (from rev 510874, tpm2-tools/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2019-09-16 11:34:13 UTC (rev 510875)
@@ -0,0 +1,40 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=tpm2-tools
+pkgver=4.0
+pkgrel=1
+pkgdesc="Trusted Platform Module 2.0 tools based on tpm2-tss"
+arch=(x86_64)
+url="https://github.com/tpm2-software/tpm2-tools"
+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)
+source=("$url/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+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>
+
+build() {
+ cd ${pkgname}-${pkgver}
+ ./configure \
+ --enable-unit \
+ --sysconfdir=/etc \
+ --prefix=/usr
+ make
+}
+
+check() {
+ cd ${pkgname}-${pkgver}
+ make check
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}/
+}
More information about the arch-commits
mailing list