pmaports/kde/kactivitymanagerd/APKBUILD
Oliver Smith 716e6c10eb aports/kde: test case for framework versions
This commit adds a test case, which makes sure that the KDE framework
and plasma framework version are always the same.

Additional changes:
* APKBUILD parser parses the URL now (that's the best way I found to
  categorize the KDE aports in frameworks and other)
* Changed single quotes to double quotes in KDE APKBUILDs, so the
  parser doesn't include the single quotes in the parsed result
* Added the test case to the gitlab CI config
2018-08-02 20:33:20 +00:00

42 lines
1.3 KiB
Text

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kactivitymanagerd
pkgver=5.13.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="86d7016be1bbb5b1d8e8748e301eceaf8bbfdae5f3e77643ace1f052ff78150acd4498bf7ac4fc59ab2164597e9f0c449dba0ae7ded24951970eefb6f52a911a kactivitymanagerd-5.13.4.tar.xz"