aboutsummaryrefslogtreecommitdiffstats
path: root/testing/powerdevil/APKBUILD
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-02 19:37:54 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-19 21:18:38 -0300
commit4c4e5b63d26cb37a2e29eb3d79ba3e5852fab6f7 (patch)
tree8d938eb50a4aac522a802d6f61b5e271fc829b41 /testing/powerdevil/APKBUILD
parent607d862d1a32b797bd40339e2f243c4127240adf (diff)
downloadaports-4c4e5b63d26cb37a2e29eb3d79ba3e5852fab6f7.tar.gz
aports-4c4e5b63d26cb37a2e29eb3d79ba3e5852fab6f7.tar.bz2
aports-4c4e5b63d26cb37a2e29eb3d79ba3e5852fab6f7.tar.xz
testing/powerdevil: new aport
Diffstat (limited to 'testing/powerdevil/APKBUILD')
-rw-r--r--testing/powerdevil/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/powerdevil/APKBUILD b/testing/powerdevil/APKBUILD
new file mode 100644
index 0000000000..9ea58014ca
--- /dev/null
+++ b/testing/powerdevil/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=powerdevil
+pkgver=5.16.1
+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-or-later AND LGPL-2.0-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)"
+depends_dev="qt5-qtbase-dev qt5-qtx11extras-dev kactivities-dev kauth-dev kidletime-dev kconfig-dev kdbusaddons-dev solid-dev ki18n-dev kglobalaccel-dev kio-dev knotifyconfig-dev kwayland-dev kcrash-dev knotifications-dev libkscreen-dev plasma-workspace-dev bluez-qt-dev networkmanager-qt-dev eudev-dev"
+makedepends="$depends_dev extra-cmake-modules kdoctools-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=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="4b7f7c728978289ac25fe9e54643b7bd486a67920d4d2aff0ee6767ecb3b989d6cafbc4a3b5c08cd2ba3e9b03d601d6b736fff0c73552fb8a2c4edc951ffabf9 powerdevil-5.16.1.tar.xz"