community/kwallet-pam: rebuild against pam under /usr/lib

This commit is contained in:
Pablo Correa Gómez 2024-09-04 15:54:09 +02:00 committed by Natanael Copa
parent 47f3d303ce
commit 01dd99552c

View File

@ -5,7 +5,7 @@
# group=kde-plasma
pkgname=kwallet-pam
pkgver=6.1.4
pkgrel=0
pkgrel=1
pkgdesc="KWallet PAM integration"
# armhf blocked by extra-cmake-modules
arch="all !armhf"
@ -32,9 +32,9 @@ options="!check"
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
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=libexec \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
@ -42,7 +42,7 @@ package() {
DESTDIR="$pkgdir" cmake --install build
# We don't ship systemd
rm -r "$pkgdir"/lib/systemd
rm -r "$pkgdir"/usr/lib/systemd
}
sha512sums="