2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=powerdevil
|
2019-01-18 15:07:23 +00:00
|
|
|
pkgver=5.14.5
|
2018-05-12 22:59:51 +00:00
|
|
|
pkgrel=0
|
2018-07-30 22:00:55 +00:00
|
|
|
pkgdesc="Manages the power consumption settings of a Plasma Shell"
|
2017-11-26 17:08:10 +00:00
|
|
|
arch="all"
|
2018-07-30 22:00:55 +00:00
|
|
|
url="https://www.kde.org/workspaces/plasmadesktop/"
|
2017-11-26 17:08:10 +00:00
|
|
|
license="GPL-2.0"
|
|
|
|
depends="plasma-workspace"
|
2018-05-02 20:50:29 +00:00
|
|
|
depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kdesignerplugin-dev kdesignerplugin
|
2017-11-26 17:08:10 +00:00
|
|
|
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 \
|
|
|
|
-DCMAKE_INSTALL_LIBEXECDIR=lib
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd "$builddir"
|
|
|
|
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
2019-01-18 15:07:23 +00:00
|
|
|
sha512sums="b71d70889eacbe684173c43035c7e80c840437adebdd0d707065ce7ed707e1c763d3505be53f97cba255432d6a8194f567859059a82086a0225f9cd1ec953f06 powerdevil-5.14.5.tar.xz"
|