aports/community/kwallet-pam/APKBUILD
2025-05-09 06:12:35 +00:00

49 lines
1.2 KiB
Text

# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-plasma
maintainer="team/kde <bribbers@disroot.org>"
pkgname=kwallet-pam
pkgver=6.3.5
pkgrel=0
pkgdesc="KWallet PAM integration"
# armhf blocked by qt6-qtdeclarative -> kwallet
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
*.*.9*) _rel=unstable;;
*) _rel=stable;;
esac
_repo_url="https://invent.kde.org/plasma/kwallet-pam.git"
source="https://download.kde.org/$_rel/plasma/$pkgver/kwallet-pam-$pkgver.tar.xz"
# No tests available
options="!check"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBEXECDIR=libexec \
-DCMAKE_INSTALL_LIBDIR=lib
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
# We don't ship systemd
rm -r "$pkgdir"/usr/lib/systemd
}
sha512sums="
dee58fa5f4c7246120e2561da9b1a4fb2b0f4783d6b0d54a4117f11f1f633b4ae7aa01b3d28d8b96e753ef442530b269a34edfabad2d452302b71d1eeba6f3ff kwallet-pam-6.3.5.tar.xz
"