pkgname=kwallet-pam pkgver=6.0.4 pkgrel=1 pkgdesc="KWallet PAM integration" arch=('x86_64') url="https://kde.org/plasma-desktop" license=('LGPL-2.0-or-later') groups=('plasma') depends=('glibc' 'kwallet' 'libgcrypt' 'linux-pam' 'bash' 'socat') makedepends=('extra-cmake-modules' 'cmake') source=(https://download.kde.org/stable/plasma/${pkgver}/${pkgname}-${pkgver}.tar.xz) sha256sums=(806a8bd0da1c79b7001e2ccf0f5222b64df19ffb960f2db89b11e4f4d5a9a981) build() { cd ${pkgname}-${pkgver} cmake -B flarebird-build -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBEXECDIR=libexec \ -DKDE_INSTALL_LIBDIR=lib64 \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_QT5=OFF \ -DBUILD_TESTING=OFF cmake --build flarebird-build } package() { cd ${pkgname}-${pkgver} DESTDIR=${pkgdir} cmake --install flarebird-build }