summaryrefslogtreecommitdiff
path: root/pcr/trousers/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/trousers/PKGBUILD')
-rw-r--r--pcr/trousers/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/pcr/trousers/PKGBUILD b/pcr/trousers/PKGBUILD
new file mode 100644
index 000000000..560cb211c
--- /dev/null
+++ b/pcr/trousers/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: mutantmonkey <aur@mutantmonkey.in>
+# 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>
+# Contributor: Silvio Knizek <killermoehre@gmx.net>
+
+pkgname=trousers
+pkgver=0.3.13
+pkgrel=2
+pkgdesc="Free TCG Software Stack implementation for use with a TPM"
+arch=('i686' 'x86_64')
+url="http://sourceforge.net/projects/trousers"
+license=('CPL')
+depends=('openssl')
+install=${pkgname}.install
+source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/0.3.13/${pkgname}-${pkgver}.tar.gz
+ ${pkgname}.install
+ tcsd.service
+ 70-tpmd.rules)
+sha256sums=('bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3'
+ '18a96f4067968d947d5c4d4572b360de19cc940e082e221768add82a24539b9e'
+ '653c3a94ec628e7a7fb150d0d289b0866c6b3bb9aa57af2c59724517d205d7bd'
+ 'c50ea41a4809699dd50f2e621acc6baafb2dffa43cd5a0df8a0679f1d1b1b884')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --libdir=/usr/lib \
+ --sbindir=/usr/bin \
+ --with-openssl=/usr \
+ --with-gui=openssl
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ install -Dm644 ${srcdir}/tcsd.service ${pkgdir}/usr/lib/systemd/system/tcsd.service
+ install -Dm644 ${srcdir}/70-tpmd.rules ${pkgdir}/usr/lib/udev/rules.d/70-tpmd.rules
+}
+
+# vim:set ts=2 sw=2 et: