aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-02 09:44:14 +0200
committerTBK <tbk@jjtc.eu>2020-04-02 12:08:30 +0000
commitac048baf3e1fd1ea42b032f8c76639b1fa51bd94 (patch)
treea0a00316e8faa1752988420667b9887603f2020e /testing
parent587ebd2c9dbcad16dea4c5f18d8f62b18ee4e6d9 (diff)
downloadaports-ac048baf3e1fd1ea42b032f8c76639b1fa51bd94.tar.bz2
aports-ac048baf3e1fd1ea42b032f8c76639b1fa51bd94.tar.xz
testing/kaddressbook: new aport
Diffstat (limited to 'testing')
-rw-r--r--testing/kaddressbook/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/kaddressbook/APKBUILD b/testing/kaddressbook/APKBUILD
new file mode 100644
index 0000000000..817936cf12
--- /dev/null
+++ b/testing/kaddressbook/APKBUILD
@@ -0,0 +1,32 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kaddressbook
+pkgver=19.12.3
+pkgrel=0
+arch="all !ppc64le !s390x !armhf" # Limited by qt5-qtwebengine
+url="https://kontact.kde.org/components/kaddressbook.html"
+pkgdesc="Address Book application to manage your contacts"
+license="GPL-2.0-or-later AND LGPL-2.0-or-later"
+depends="kdepim-runtime"
+makedepends="extra-cmake-modules qt5-qtbase-dev kdepim-apps-libs-dev grantleetheme-dev pimcommon-dev libkleo-dev kdbusaddons-dev kdoctools-dev kcmutils-dev kcrash-dev kpimtextedit-dev akonadi-dev kontactinterface-dev libkdepim-dev gpgme-dev akonadi-search-dev prison-dev kuserfeedback-dev"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kaddressbook-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make -C build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make -C build install
+}
+
+sha512sums="e08cd6ce8b1583431ea2ee79818f82183c9d3109852277b80ea6e1ff84b0ed921eef1b443617128bd67e4240834f63722f8b4a60c4195bb9ac96810fc0bb4719 kaddressbook-19.12.3.tar.xz"