pmaports/kde/powerdevil/APKBUILD
Bart Ribbers 5f3d999689
kde/plasma*: update to 5.15.5 (!350)
[ci:skip-build]: ollieparanoid made sure that it builds for all arches.
2019-05-12 00:20:08 +02:00

34 lines
1.5 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=powerdevil
pkgver=5.15.5
pkgrel=0
pkgdesc="Manages the power consumption settings of a Plasma Shell"
arch="all"
url="https://www.kde.org/workspaces/plasmadesktop/"
license="GPL-2.0"
depends="plasma-workspace"
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kdesignerplugin-dev kdesignerplugin kactivities-dev kauth-dev kidletime-dev kconfig-dev kdbusaddons-dev solid-dev ki18n-dev kglobalaccel-dev kio-dev knotifyconfig-dev kwayland-dev kcoreaddons-dev kdelibs4support-dev karchive-dev kconfigwidgets-dev kcodecs-dev kwidgetsaddons-dev kcrash-dev kservice-dev kbookmarks-dev kcompletion-dev kitemviews-dev kjobwidgets-dev kxmlgui-dev kdoctools-dev kemoticons-dev kguiaddons-dev kiconthemes-dev kitemmodels-dev kinit-dev knotifications-dev kparts-dev ktextwidgets-dev sonnet-dev kunitconversion-dev kwindowsystem-dev libkscreen-dev plasma-workspace-dev"
makedepends="$depends_dev extra-cmake-modules eudev-dev"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc $pkgname-lang"
build() {
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
DESTDIR="$pkgdir" make install
}
sha512sums="bc0a1af8eff7da7801b6644a2d28ff595b3052ebe0d59aa808c51dc1c3c3c787c7d7569cc59cca216757e57a67a4a957845792af78aeafb9a71d4ce37723b3b3 powerdevil-5.15.5.tar.xz"