aboutsummaryrefslogtreecommitdiffstats
path: root/testing/kactivitymanagerd/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'testing/kactivitymanagerd/APKBUILD')
-rw-r--r--testing/kactivitymanagerd/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/kactivitymanagerd/APKBUILD b/testing/kactivitymanagerd/APKBUILD
new file mode 100644
index 0000000000..f37902b1ba
--- /dev/null
+++ b/testing/kactivitymanagerd/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kactivitymanagerd
+pkgver=5.16.1
+pkgrel=0
+pkgdesc="System service to manage user's activities and track the usage patterns"
+arch="all"
+url="https://www.kde.org/workspaces/plasmadesktop/"
+license="GPL-2.0-only OR GPL-3.0-only"
+depends_dev="qt5-qtbase-dev kdbusaddons-dev ki18n-dev kconfig-dev kcoreaddons-dev kwindowsystem-dev kglobalaccel-dev kxmlgui-dev kio-dev"
+makedepends="$depends_dev extra-cmake-modules boost-dev"
+source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
+build() {
+ cd "$builddir"/build
+ cmake "$builddir" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="01502251c9796769af95cad953c5c748c58f1890fbbd274638966f7a632ad6ee95e83adaa01be13e0c3d4db44cdc90b913b3a36cad2e5e798b624cf18ce09736 kactivitymanagerd-5.16.1.tar.xz"