diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 8 insertions, 11 deletions
@@ -1,7 +1,7 @@ # Maintainer: robertfoster pkgname=libtpms -pkgver=0.5.2.1 +pkgver=0.6.0 pkgrel=1 pkgdesc="The libtpms library provides software emulation of a Trusted Platform Module (TPM 1.2)" arch=('i686' 'x86_64') @@ -10,20 +10,17 @@ license=(unknown) depends=('openssl' 'zlib') makedepends=('automake' 'autoconf') provides=('libtpms') -source=("git+https://github.com/stefanberger/libtpms.git#tag=v${pkgver}") -sha1sums=('SKIP') -_gitname=libtpms +source=("https://github.com/stefanberger/libtpms/archive/v${pkgver}.tar.gz") build() { - cd $_gitname - ./bootstrap.sh - ./configure --prefix=/usr --with-openssl - make + cd "$pkgname-$pkgver" + ./autogen.sh --with-tpm2 --with-openssl --prefix=/usr + make all } package() { - cd $_gitname - make DESTDIR="${pkgdir}" install + cd "$pkgname-$pkgver" + make DESTDIR="${pkgdir}" install } -# vim:set ts=2 sw=2 et: +md5sums=('c9301e08d50bc07dab62804261be44d5') |