summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 639a60e4309715f6dfe5bd4b6d4f33645927b701 (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
# Maintainer: robertfoster

pkgname=libtpms
pkgver=0.5.2.1
pkgrel=1
pkgdesc="The libtpms library provides software emulation of a Trusted Platform Module (TPM 1.2)"
arch=('i686' 'x86_64')
url="https://github.com/stefanberger/libtpms"
license=(unknown)
depends=('openssl' 'zlib')
makedepends=('automake' 'autoconf')
provides=('libtpms')
source=("git+https://github.com/stefanberger/libtpms.git#tag=v${pkgver}")
sha1sums=('SKIP')
_gitname=libtpms

build() {
  cd $_gitname
  ./bootstrap.sh
  ./configure --prefix=/usr --with-openssl
  make
}

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

# vim:set ts=2 sw=2 et: