# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=kwallet-pam pkgver=5.27.6 pkgrel=0 pkgdesc="KWallet PAM integration" # armhf blocked by extra-cmake-modules arch="all !armhf" url="https://kde.org/plasma-desktop/" license="LGPL-2.1-or-later" depends="socat" makedepends=" extra-cmake-modules kwallet-dev libgcrypt-dev linux-pam-dev samurai " case "$pkgver" in *.90*) _rel=unstable;; *) _rel=stable;; esac source="https://download.kde.org/$_rel/plasma/$pkgver/kwallet-pam-$pkgver.tar.xz" options="!check" # No tests available build() { cmake -B build -G Ninja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/ \ -DCMAKE_INSTALL_LIBEXECDIR=usr/libexec \ -DCMAKE_INSTALL_LIBDIR=lib # for the pam module to be in /lib/security cmake --build build } package() { DESTDIR="$pkgdir" cmake --install build # We don't ship systemd rm -r "$pkgdir"/lib/systemd } sha512sums=" c379679129844ff0feea2304972537999a47e9884c7d6580efad30c90730385400241417622fdbb0d746a17c7a6ebf95a14d2b4410b0fc9bccc1de96d89027df kwallet-pam-5.27.6.tar.xz "