Date: Tuesday, November 1, 2022 @ 13:20:33
  Author: foutrelis
Revision: 1340087

archrelease: copy trunk to community-staging-x86_64

Added:
  ibm-sw-tpm2/repos/community-staging-x86_64/
  ibm-sw-tpm2/repos/community-staging-x86_64/PKGBUILD
    (from rev 1340086, ibm-sw-tpm2/trunk/PKGBUILD)

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

Copied: ibm-sw-tpm2/repos/community-staging-x86_64/PKGBUILD (from rev 1340086, 
ibm-sw-tpm2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-11-01 13:20:33 UTC (rev 1340087)
@@ -0,0 +1,32 @@
+# Maintainer: Jonas Witschel <[email protected]>
+# Contributor: Bruno Pagani <[email protected]>
+pkgname=ibm-sw-tpm2
+pkgver=1682
+pkgrel=2
+pkgdesc='Implementation of the TCG Trusted Platform Module 2.0 specification'
+arch=('x86_64')
+url='https://sourceforge.net/projects/ibmswtpm2/'
+license=('BSD')
+depends=('openssl')
+options=('debug')
+source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz";)
+sha512sums=('564c2154e5459cbbf4ec052bea7909d1eaff0aa07b291c7de44b1204ecfda3c4156fa18da4499e4202b8772b54ae30d0c7c89bd12cd415f3882d17c8d340686d')
+
+prepare() {
+       cd src
+       sed -e 's/$(CCFLAGS)/$(CPPFLAGS) & $(CFLAGS)/' \
+           -e 's/$(LNFLAGS)/& $(LDFLAGS)/' \
+           -e 's/-ggdb//' -e 's/-O0//' -e 's/-Werror//' \
+           -i makefile
+}
+
+build() {
+       cd src
+       make
+}
+
+package() {
+       cd src
+       make DESTDIR="$pkgdir" install
+       install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
+}

Reply via email to