summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-01-27 16:10:23 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-28 18:04:40 +0100
commit1fda542cf5df4a34c1efb9a897c64df5f22b8d14 (patch)
tree5358275712127813e7e2f42b6c9dfa72a56e0b5a
parentafc14068af713aaebed6f934d6eca6af0dbc99df (diff)
downloadaports-1fda542cf5df4a34c1efb9a897c64df5f22b8d14.zip
testing/ktp-common-internals: new aport
-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"