pmaports/kde/kactivitymanagerd/APKBUILD

39 lines
1.2 KiB
Text
Raw Normal View History

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kactivitymanagerd
pkgver=5.15.4
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"
depends_dev="qt5-qtbase-dev kio-dev kdbusaddons-dev ki18n-dev kconfig-dev kcoreaddons-dev kwindowsystem-dev kglobalaccel-dev kxmlgui-dev kconfigwidgets-dev kauth-dev kcodecs-dev kwidgetsaddons-dev kservice-dev kbookmarks-dev kcompletion-dev kitemviews-dev kjobwidgets-dev solid-dev"
makedepends="$depends_dev extra-cmake-modules boost-dev"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-lang"
builddir="$srcdir/$pkgname-$pkgver/build"
prepare() {
mkdir "$builddir"
}
build() {
cd "$builddir"
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"
make DESTDIR="$pkgdir" install
}
sha512sums="7cb596954c35c6e3f3dce65cd87a204890b18cf3759b2f82587c1ac8b5bef893acf9e9dcd4269c41737e68bd612a4abe94a15e75d461b1cfa50419dc6edffd38 kactivitymanagerd-5.15.4.tar.xz"