Date: Thursday, July 18, 2019 @ 19:15:28 Author: archange Revision: 491874
archrelease: copy trunk to community-x86_64 Added: tpm2-abrmd/repos/community-x86_64/PKGBUILD (from rev 491873, tpm2-abrmd/trunk/PKGBUILD) Deleted: tpm2-abrmd/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-07-18 19:15:17 UTC (rev 491873) +++ PKGBUILD 2019-07-18 19:15:28 UTC (rev 491874) @@ -1,36 +0,0 @@ -# Maintainer: Bruno Pagani <archa...@archlinux.org> - -pkgname=tpm2-abrmd -pkgver=2.1.1 -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=('29a55a9e4bc57e4d93acda12cde77bbf332f1dbe99a393ddddd5ede4efc7079a' 'SKIP') -validpgpkeys=('42007E876F248E04A3F2FE25AE4548D043DEC7C3') # Philip Tricca <philip.b.tri...@intel.com> - -build() { - cd ${pkgname}-${pkgver} - ./configure \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --with-dbuspolicydir=/usr/share/dbus-1/system.d \ - $(check_option check y && 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}/ -} Copied: tpm2-abrmd/repos/community-x86_64/PKGBUILD (from rev 491873, tpm2-abrmd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-07-18 19:15:28 UTC (rev 491874) @@ -0,0 +1,36 @@ +# Maintainer: Bruno Pagani <archa...@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.tri...@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}/ +}