Date: Friday, September 10, 2021 @ 09:26:31 Author: diabonas Revision: 1013371
archrelease: copy trunk to community-x86_64 Added: libtpms/repos/community-x86_64/PKGBUILD (from rev 1013370, libtpms/trunk/PKGBUILD) Deleted: libtpms/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 45 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-10 09:26:26 UTC (rev 1013370) +++ PKGBUILD 2021-09-10 09:26:31 UTC (rev 1013371) @@ -1,41 +0,0 @@ -# Maintainer: Jonas Witschel <diabo...@archlinux.org> -pkgname=libtpms -pkgver=0.8.5 -_tag=ac4b9363504b8259e85bad09e967ad5aa87c5e22 # git rev-parse "v$pkgver" -pkgrel=1 -pkgdesc='Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)' -arch=('x86_64') -url='https://github.com/stefanberger/libtpms' -license=('BSD') -depends=('openssl') -makedepends=('git') -source=("git+$url.git?signed#tag=$_tag") -sha512sums=('SKIP') -validpgpkeys=('B818B9CADF9089C2D5CEC66B75AD65802A0B4211') # Stefan Berger <stef...@linux.vnet.ibm.com> - -pkgver() { - cd "$pkgname" - git describe | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g' -} - -prepare() { - cd "$pkgname" - autoreconf --install --force -} - -build() { - cd "$pkgname" - ./configure --prefix=/usr --with-openssl --with-tpm2 - make -} - -check() { - cd "$pkgname" - make check -} - -package() { - cd "$pkgname" - make DESTDIR="$pkgdir" install - install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" -} Copied: libtpms/repos/community-x86_64/PKGBUILD (from rev 1013370, libtpms/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-10 09:26:31 UTC (rev 1013371) @@ -0,0 +1,45 @@ +# Maintainer: Jonas Witschel <diabo...@archlinux.org> +pkgname=libtpms +pkgver=0.8.5 +_tag=ac4b9363504b8259e85bad09e967ad5aa87c5e22 # git rev-parse "v$pkgver" +pkgrel=2 +pkgdesc='Library providing a software emulation of a Trusted Platform Module (TPM 1.2 and TPM 2.0)' +arch=('x86_64') +url='https://github.com/stefanberger/libtpms' +license=('BSD') +depends=('openssl') +makedepends=('git') +source=("git+$url.git?signed#tag=$_tag") +sha512sums=('SKIP') +validpgpkeys=('B818B9CADF9089C2D5CEC66B75AD65802A0B4211') # Stefan Berger <stef...@linux.vnet.ibm.com> + +pkgver() { + cd "$pkgname" + git describe | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g' +} + +prepare() { + cd "$pkgname" + + # Fix for tpm2-tools test suite (https://github.com/stefanberger/libtpms/pull/260) + git cherry-pick --no-commit 8ae3d744bc0cf9dc8a0078fe052f5bd70e41c818 + + autoreconf --install --force +} + +build() { + cd "$pkgname" + ./configure --prefix=/usr --with-openssl --with-tpm2 + make +} + +check() { + cd "$pkgname" + make check +} + +package() { + cd "$pkgname" + make DESTDIR="$pkgdir" install + install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname" +}