core/kwallet-pam/PKGBUILD
AlmAck 0003c19031 fix validpgpkeys array propagation
use [@] to get the full array entries, without that only the first element was retrieved
2017-08-10 11:46:06 +02:00

41 lines
822 B
Bash

source ../plasma.conf
pkgname=kwallet-pam
pkgver=${PVersion}
pkgrel=1
pkgdesc='KWallet PAM integration'
arch=(x86_64)
url='https://projects.kde.org/kwallet-pam'
license=(LGPL)
depends=(pam libgcrypt socat kwallet)
makedepends=(extra-cmake-modules)
groups=('plasma')
options=("debug")
source=("${PServer}/${pkgver}/${pkgname}-${PVersion}.tar.xz"{,.sig})
sha256sums=( $(getSum ${pkgname})
'SKIP' )
validpgpkeys=(${Pvalidpgpkeys[@]})
prepare() {
mkdir -p build
mkdir -p build4
cd ${pkgname}-${pkgver}
}
build() {
cd build
cmake_kf5 ../${pkgname}-${pkgver} -DCMAKE_INSTALL_LIBDIR=lib
make
cd ../build4
cmake_kf5 ../${pkgname}-${pkgver} -DCMAKE_INSTALL_LIBDIR=lib -DKWALLET4=1
make
}
package() {
cd build
make DESTDIR="$pkgdir" install
cd ../build4
make DESTDIR="$pkgdir" install
}