diff options
Diffstat (limited to 'pcr/trousers/PKGBUILD')
-rw-r--r-- | pcr/trousers/PKGBUILD | 57 |
1 files changed, 38 insertions, 19 deletions
diff --git a/pcr/trousers/PKGBUILD b/pcr/trousers/PKGBUILD index 560cb211c..d46d173d4 100644 --- a/pcr/trousers/PKGBUILD +++ b/pcr/trousers/PKGBUILD @@ -1,30 +1,47 @@ -# 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> +# Maintainer (AUR): mutantmonkey <aur@mutantmonkey.in> +# Contributor (AUR): Gerardo Exequiel Pozzi <djgera@archlinux.org> +# Contributor (AUR): Robert Buhren <robert@robertbuhren.de> +# Contributor (AUR): Gavin Lloyd <gavinhungry@gmail.com> +# Contributor (AUR): xav <xav at ethertricks dot net> +# Contributor (AUR): julian <pidanc_j at epita dot fr> +# Contributor (AUR): Silvio Knizek <killermoehre@gmx.net> + +# parabola changes and rationale: +# - removed "open source" term from pkgdesc pkgname=trousers -pkgver=0.3.13 -pkgrel=2 -pkgdesc="Free TCG Software Stack implementation for use with a TPM" -arch=('i686' 'x86_64') +pkgver=0.3.14 +pkgrel=3 +pkgdesc="Libre TCG Software Stack implementation for use with a TPM" +arch=('i686' 'x86_64' 'armv7h') 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 +options=('libtool') +source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz + sysusers.conf + tmpfiles.conf tcsd.service - 70-tpmd.rules) -sha256sums=('bb908e4a3c88a17b247a4fc8e0fff3419d8a13170fe7bdfbe0e2c5c082a276d3' - '18a96f4067968d947d5c4d4572b360de19cc940e082e221768add82a24539b9e' + 70-tpmd.rules + 01-tss-user.patch) +noextract=(${pkgname}-${pkgver}.tar.gz) +sha256sums=('ce50713a261d14b735ec9ccd97609f0ad5ce69540af560e8c3ce9eb5f2d28f47' + '4c2684501e7a67132d4f53466b32fc06bd2a0275d4cf1fbd5479d0cdb2349bc7' + '1afd455b6c17e730b2cc4ec71d5625f0b63fde54f9409ae4762dc6f084c194de' '653c3a94ec628e7a7fb150d0d289b0866c6b3bb9aa57af2c59724517d205d7bd' - 'c50ea41a4809699dd50f2e621acc6baafb2dffa43cd5a0df8a0679f1d1b1b884') + 'c50ea41a4809699dd50f2e621acc6baafb2dffa43cd5a0df8a0679f1d1b1b884' + '169cc2cbc3a8bce7fd76e0c96e5b04b5249a0db9e857b274a0c5da461bb604f7') + +prepare() { + mkdir -p ${pkgname}-${pkgver} + bsdtar -x -f ${pkgname}-${pkgver}.tar.gz -C ${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} + patch -p1 -i ${srcdir}/01-tss-user.patch +} build() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${pkgname}-${pkgver} + ./bootstrap.sh ./configure --prefix=/usr \ --sysconfdir=/etc \ --libdir=/usr/lib \ @@ -35,10 +52,12 @@ build() { } package() { - cd ${srcdir}/${pkgname}-${pkgver} + cd ${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 + install -Dm644 ${srcdir}/sysusers.conf ${pkgdir}/usr/lib/sysusers.d/trousers.conf + install -Dm644 ${srcdir}/tmpfiles.conf ${pkgdir}/usr/lib/tmpfiles.d/trousers.conf } # vim:set ts=2 sw=2 et: |