diff options
author | Jonas Witschel | 2019-01-15 00:18:39 +0100 |
---|---|---|
committer | Jonas Witschel | 2019-01-15 00:18:39 +0100 |
commit | cc05b4eb463747799902e4247e17e0bda41ce5c0 (patch) | |
tree | 91f2ad42974dcef5467b435dfa0fa5bd5c0f3cd3 | |
parent | 7a5cc66b59a80b68bde994a0cf971a745eac46a4 (diff) | |
download | aur-cc05b4eb463747799902e4247e17e0bda41ce5c0.tar.gz |
Simplify duplicate ./configure call
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 9 insertions, 6 deletions
@@ -1,7 +1,7 @@ pkgbase = tpm2-abrmd-git pkgdesc = Trusted Platform Module 2.0 Access Broker and Resource Management Daemon - pkgver = 2.1.0rc0.r0.d3f699d - pkgrel = 2 + pkgver = 2.1.0rc0.r1.206d5b0 + pkgrel = 1 url = https://github.com/tpm2-software/tpm2-abrmd arch = x86_64 license = BSD @@ -1,8 +1,8 @@ # Maintainer: Jonas Witschel <diabonas at gmx dot de> # Contributor: hexchain <i at hexchain.org> pkgname=tpm2-abrmd-git -pkgver=2.1.0rc0.r0.d3f699d -pkgrel=2 +pkgver=2.1.0rc0.r1.206d5b0 +pkgrel=1 pkgdesc='Trusted Platform Module 2.0 Access Broker and Resource Management Daemon' arch=('x86_64') url='https://github.com/tpm2-software/tpm2-abrmd' @@ -29,13 +29,16 @@ prepare () { build() { cd "${pkgname%-git}" - ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc + (( CHECKFUNC )) && opts=('--enable-unit' '--enable-integration') + ./configure --prefix=/usr \ + --sbindir=/usr/bin \ + --with-dbuspolicydir=/usr/share/dbus-1/system.d \ + "${opts[@]}" make } check() { cd "${pkgname%-git}" - ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --enable-unit --enable-integration dbus-run-session -- make check } |