Thank you to anyone who has already donated - your generous donations helped make three months of treatment possible.

My brother Nate continues to fight stage IV Hodgkin's lymphoma. He's just 31, with a wife and baby girl. They have no active income (since he's been unable to return to work), no insurance, and cannot afford the treatment he needs. Nate and his family need your help. Please consider a donation, every dollar helps. Thanks.


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
36
37
38
39
40
# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>
# Contributor: xav <xav at ethertricks dot net>
# Contributor: julian <pidanc_j at epita dot fr>

pkgname=trousers
pkgver=0.3.7
pkgrel=2
pkgdesc="Open-source 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}/${pkgver}/${pkgname}-${pkgver}.tar.gz
        tss-user.patch
        no-werror.patch
        ${pkgname}.install
        tcsd)
sha512sums=('875ce1859d9178c45c0de2f5bda4cd07d5acdaf50da01281fc335ca12c274a9a4fd521633d9c9bb5091aa45bda9e71e8e5abe80261a6df7f88185b8cf192dbb3'
            '62672df90611514828ac4a414db8cbf91d38e54a2c7adca9fb510119bdd07bca88e64feb64994a9a4c01f1a511c559826d86963c3dcbcd360e9843a1c829c50d'
            '76fbfcdcf0d586b9d3b7ee6705cdd799c4ac130f551c46e0f52e31e71e43c639de37a3b56f0717e7ef243bd5de12ca1a13a731ce8bb4bd5397b1723e04279fa6'
            'b9df3a002c3640abbd5333bc93c800ebf4f0ebb44c75fb8b54f0580134a2698b327e5b87c83b4b1a0f41d1c8d67c6f0b9bc4b67441f23af52e90aaf79ed10b2b'
            '6d42e25aa13a2194e7ceef538b2a43cfe3fcf43982de51006329dfe4239085bcf3a80d2db6f0fa61376459a752c9bfcc55e62a1e607a441597e3a79c7d51da69')

build() {
  cd ${srcdir}
  patch -p 0 < tss-user.patch
  patch -p 0 < no-werror.patch

  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --with-openssl=/usr
  ln -sf `which libtool` libtool
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make DESTDIR=${pkgdir} install
  install -Dm755 ${srcdir}/tcsd ${pkgdir}/etc/rc.d/tcsd
}