40c126b925
[ci:skip-build]: ollieparanoid made sure that this builds for x86_64, armhf, armv7, aarch64
35 lines
1.1 KiB
Text
35 lines
1.1 KiB
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=polkit-kde-agent
|
|
pkgver=5.15.4
|
|
pkgrel=0
|
|
pkgdesc="Daemon providing a polkit authentication UI for KDE"
|
|
arch="all"
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
|
license="GPL-2.0"
|
|
depends_dev="qt5-qtbase-dev kiconthemes-dev kdbusaddons-dev kcrash-dev polkit-qt-dev ki18n-dev kwindowsystem-dev kwidgetsaddons-dev kcoreaddons-dev"
|
|
makedepends="$depends_dev extra-cmake-modules"
|
|
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-1-$pkgver.tar.xz"
|
|
subpackages="$pkgname-lang"
|
|
builddir="$srcdir/$pkgname-1-$pkgver"
|
|
|
|
build() {
|
|
cmake \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="00543f1e3bd2463ac4b6df2170fe613bea1b238a859d01a19b6fccb89ee7a1cda20f667e0cdee4d0c3c4227fbb5c000193754959d4ede54dfa02ead9e2422d8f polkit-kde-agent-1-5.15.4.tar.xz"
|