[arch-commits] Commit in ibm-sw-tpm2/trunk (PKGBUILD)
Jonas Witschel
diabonas at archlinux.org
Mon Jul 27 17:39:48 UTC 2020
Date: Monday, July 27, 2020 @ 17:39:47
Author: diabonas
Revision: 665499
upgpkg: ibm-sw-tpm2 1637-1: upstream release
Modified:
ibm-sw-tpm2/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-27 17:22:27 UTC (rev 665498)
+++ PKGBUILD 2020-07-27 17:39:47 UTC (rev 665499)
@@ -1,7 +1,7 @@
# Maintainer: Jonas Witschel <diabonas at archlinux.org>
# Contributor: Bruno Pagani <archange at archlinux.org>
pkgname=ibm-sw-tpm2
-pkgver=1636
+pkgver=1637
pkgrel=1
pkgdesc='Implementation of the TCG Trusted Platform Module 2.0 specification'
arch=('x86_64')
@@ -8,11 +8,11 @@
url='https://sourceforge.net/projects/ibmswtpm2/'
license=('BSD')
depends=('openssl')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/kgoldman/ibmswtpm2/archive/rev$pkgver.tar.gz")
-sha512sums=('3540486b21ade92a50fc1e2b41b23f6afefe23e1de05dd009e0ade021bac2f6ca0d61d4b61af9466f3c70327047ebf9b8d6891c100b1949a0d9c0c81335cbb10')
+source=("https://downloads.sourceforge.net/${pkgname//-}/ibmtpm$pkgver.tar.gz")
+sha512sums=('007aa415cccf19a2bcf789c426727dc4032dcb04cc9d11eedc231d2add708c1134d3d5ee5cfbe7de68307c95fff7a30bd306fbd8d53c198a5ef348440440a6ed')
prepare() {
- cd "${pkgname//-}-rev$pkgver/src"
+ cd src
sed -e 's/$(CCFLAGS)/$(CPPFLAGS) & $(CFLAGS)/' \
-e 's/$(LNFLAGS)/& $(LDFLAGS)/' \
-e 's/-ggdb//' -e 's/-O0//' -e 's/-Werror//' \
@@ -20,12 +20,12 @@
}
build() {
- cd "${pkgname//-}-rev$pkgver/src"
+ cd src
make
}
package() {
- cd "${pkgname//-}-rev$pkgver/src"
+ cd src
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
}
More information about the arch-commits
mailing list