aboutsummaryrefslogtreecommitdiffstats
path: root/community/kactivities/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/kactivities/APKBUILD')
-rw-r--r--community/kactivities/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/kactivities/APKBUILD b/community/kactivities/APKBUILD
new file mode 100644
index 0000000000..d6bd548ec2
--- /dev/null
+++ b/community/kactivities/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kactivities
+pkgver=5.60.0
+pkgrel=0
+arch="all"
+pkgdesc="Core components for the KDE's Activities"
+url="https://community.kde.org/Frameworks"
+license="GPL-2.0-or-later AND LGPL-2.1-or-later AND (LGPL-2.1-only OR LGPL-3.0-only)"
+depends="qt5-qtbase-sqlite"
+depends_dev="kcoreaddons-dev kconfig-dev kwindowsystem-dev qt5-qtdeclarative-dev"
+makedepends="$depends_dev extra-cmake-modules boost doxygen qt5-qttools-dev boost-dev"
+source="https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
+
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
+build() {
+ cd "$builddir"/build
+ cmake "$builddir" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_QCH=ON
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="5b8f4b3165a40f43cd3c7cb8716a5d5d8a72fb754cb82c0d3ad8f36e765aea09d0b634bfdc8bc317556b8d14baec99f8f7f0efc16ab6ef575c611dc0f36b9e2b kactivities-5.60.0.tar.xz"