pmaports/kde/kactivitymanagerd/APKBUILD

43 lines
1.3 KiB
Text
Raw Normal View History

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kactivitymanagerd
pkgver=5.14.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=""
depends_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
qt5-qtbase-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() {
mkdir "$srcdir"/build
}
build() {
cd "$srcdir"/build
cmake "$builddir" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib
make
}
check() {
cd "$srcdir"/build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$srcdir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="d2f14c335fcc3ca34cccec2e6022ba225b24a236dc9244a08cdafa4dba0ece6b815c208e533d6315d3bb7bf1d21b84a150f0eb7d2428db2f9d18e8161adc0dfc kactivitymanagerd-5.14.4.tar.xz"