summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e5808965d9fb0e026f514c3a4df54f22e09d1528 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Alex Henrie <alexhenrie24@gmail.com>
pkgname=ibm-tpm2-tss-git
pkgver=2.1.1.r0.g8842df8
pkgrel=1
pkgdesc='International Business Machines Trusted Platform Module 2.0 Software Stack'
arch=('x86_64')
url='https://sourceforge.net/projects/ibmtpm20tss/'
license=('BSD')
depends=('efivar' 'openssl')
provides=('ibm-tpm2-tss')
conflicts=('ibm-tpm2-tss')
source=('git+https://git.code.sf.net/p/ibmtpm20tss/tss')
sha256sums=('SKIP')

pkgver() {
	cd tss
	git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}

build() {
	cd tss
	./autogen.sh
	./configure --prefix=/usr
	make
}

package() {
	cd tss
	make DESTDIR="$pkgdir/" install
}