updated on Mon Jan 23 12:00:23 UTC 2012
[aur-mirror.git] / tpm_emulator / PKGBUILD
blob2fc97153d5a6c51784921235ef91fbb0c9b7510b
1 # Contributor: Paul Bohme paul@bohme.org
2 pkgname=tpm_emulator
3 pkgver=0.6.1
4 pkgrel=1
5 pkgdesc="Software-based TPM emulator"
6 url="http://tpm-emulator.berlios.de/"
7 license="GPL"
8 depends=(gmp)
9 conflicts=()
10 arch=(i686)
11 install=$pkgname.install
12 source=(http://download.berlios.de/tpm-emulator/$pkgname-$pkgver.tar.gz
13         remove-user.patch
14         tpmd.rc.d)
15 md5sums=('95741ffbe3d82b9601a1b446aa9f7a5b'
16          '3fcfe65b818321ca45cda3751c8c2b11'
17          '522b83b25b39a2a51d07e8cd22d08d61')
19 build() {
20   cd $startdir/src/$pkgname-$pkgver
21   patch -p0 < ../remove-user.patch || return 1
22   make || return 1
23   mkdir -p $startdir/pkg/etc/udev/rules.d/
24   make DESTDIR=$startdir/pkg install
25   install -Dm755 ../tpmd.rc.d $startdir/pkg/etc/rc.d/tpmd