summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b8bf2f206d8c12bbd990ba21aea709f0ef1c9153 (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
31
32
33
34
35
# Maintainer: mutantmonkey <aur@mutantmonkey.in>
# Contributor: Patryk Kowalczyk <patryk AT kowalczyk dot ws>
# Contributor: Robert Buhren <robert@robertbuhren.de>
# Contributor: Gavin Lloyd <gavinhungry@gmail.com>
# Contributor: xav <xav at ethertricks dot net>
# Contributor: julian <pidanc_j at epita dot fr>

pkgname=tpm-tools
pkgver=1.3.9
pkgrel=2
pkgdesc="Tools to manage and diagnose a TPM"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/trousers"
license=('CPL')
depends=('trousers' 'opencryptoki')
source=(http://downloads.sourceforge.net/project/trousers/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz)
sha256sums=('ea126c5cd2ada56beb5118a141a498053f2d85f56263d215784f0ed86fff4213')

build() {
  # the tarball for 1.3.9 doesn't have a parent directory
  cd ${srcdir}/
  ./configure --prefix=/usr \
	            --mandir=/usr/share/man \
	            --enable-static \
	            --sbindir=/usr/bin
  make
}

package() {
  # the tarball for 1.3.9 doesn't have a parent directory
  cd ${srcdir}/
  make DESTDIR=${pkgdir} install
}

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