bfd3159d3c
Tested locally on qemu-amd64, everything appears to work correctly. [skip ci]
35 lines
1 KiB
Text
35 lines
1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=kauth
|
|
pkgver=5.53.0
|
|
pkgrel=0
|
|
pkgdesc="Abstraction to system policy and authentication features"
|
|
arch="all"
|
|
url="https://community.kde.org/Frameworks"
|
|
license="LGPL-2.1"
|
|
depends=""
|
|
depends_dev="kcoreaddons-dev"
|
|
makedepends="$depends_dev extra-cmake-modules qt5-qttools-dev doxygen polkit-qt-dev polkit-qt"
|
|
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DKDE_INSTALL_LIBDIR=lib \
|
|
-DKDE_INSTALL_LIBEXECDIR=lib \
|
|
-DBUILD_QCH=ON
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest -E KAuthHelperTest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|
|
sha512sums="f4b99b0282ff3caafeaf304739ce5c52268c01245e6ea7582a32a85b4afa0addac141a58c9fa66304165dc91269950474ea79623ae934ca673dcec34d3da0629 kauth-5.53.0.tar.xz"
|