summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/ktp-common-internals/APKBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/ktp-common-internals/APKBUILD b/testing/ktp-common-internals/APKBUILD
new file mode 100644
index 00000000000..2d1789bae15
--- /dev/null
+++ b/testing/ktp-common-internals/APKBUILD
@@ -0,0 +1,41 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=ktp-common-internals
+pkgver=19.12.1
+pkgrel=0
+pkgdesc="Library for KTp"
+url="https://github.com/kde/ktp-common-internals"
+arch="all"
+license="LGPL-2.1-only AND GPL-2.0-only"
+depends_dev="qt5-qtbase-dev qt5-qtdeclarative-dev kcoreaddons-dev knotifications-dev kio-dev kwidgetsaddons-dev kcmutils-dev knotifyconfig-dev ktexteditor-dev kwallet-dev kconfig-dev kwindowsystem-dev kemoticons-dev kiconthemes-dev kpeople-dev telepathy-qt-dev"
+makedepends="$depends_dev extra-cmake-modules doxygen"
+source="https://download.kde.org/stable/release-service/$pkgver/src/ktp-common-internals-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+options="!check" # No tests
+
+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="f81feadd73a5d7a8e4ad64f14e4559e1315c5a8f4fe8742e0ccc4050bb31c0e2d499805c4b94817e4ec5f7a9fa503f8b3f5e9cb8800ff983914711b74fd16f56 ktp-common-internals-19.12.1.tar.xz"