Date: Saturday, September 11, 2021 @ 09:35:13 Author: diabonas Revision: 1014237
archrelease: copy trunk to community-x86_64 Added: libtpms/repos/community-x86_64/PKGBUILD (from rev 1014236, libtpms/trunk/PKGBUILD) Deleted: libtpms/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 41 insertions(+), 45 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-09-11 09:35:07 UTC (rev 1014236) +++ PKGBUILD 2021-09-11 09:35:13 UTC (rev 1014237) @@ -1,45 +0,0 @@ -# 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" -} Copied: libtpms/repos/community-x86_64/PKGBUILD (from rev 1014236, libtpms/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-11 09:35:13 UTC (rev 1014237) @@ -0,0 +1,41 @@ +# Maintainer: Jonas Witschel <diabo...@archlinux.org> +pkgname=libtpms +pkgver=0.8.6 +_tag=4679759875de377441dc1aed0a958ba56cd3273e # 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" +}