pmaports/kde/polkit-kde-agent/APKBUILD
Bart Ribbers 006a0ab42f Update Plasma to 5.11.5 (#1080)
I've also added a patch to stop Plasma from setting the brightness to 1 at boot. This comes from
upstream, and can be removed once Plasma 5.12 is out.
2018-01-04 18:47:31 +00:00

37 lines
1.1 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=polkit-kde-agent
pkgver=5.11.5
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=""
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="63a6696fa5961c4757b9ee13db8d9de67d0ff8c15f72448c05f2728fc57f19717adfe09aba38d7990bbaf3bd67a3674300397fd2f988f0d27b5e13b22902966f polkit-kde-agent-1-5.11.5.tar.xz"