From 3e0ffda88c14c8e19ba72c0135ee049c0fa375c8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 20 Jul 2020 00:36:01 +0000 Subject: user/kaddressbook: New package --- user/kaddressbook/APKBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 user/kaddressbook/APKBUILD (limited to 'user/kaddressbook') diff --git a/user/kaddressbook/APKBUILD b/user/kaddressbook/APKBUILD new file mode 100644 index 000000000..95ec26d52 --- /dev/null +++ b/user/kaddressbook/APKBUILD @@ -0,0 +1,48 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=kaddressbook +pkgver=20.04.3 +pkgrel=0 +pkgdesc="KDE contact manager" +url="https://kontact.kde.org/components/kaddressbook.html" +arch="all" +license="GPL-2.0+" +depends="" +makedepends="qt5-qtbase-dev cmake extra-cmake-modules akonadi-dev boost-dev + akonadi-contacts-dev akonadi-mime-dev akonadi-search-dev gpgme-dev + grantlee-dev grantleetheme-dev kauth-dev kcalendarcore-dev + kcmutils-dev kcodecs-dev kcompletion-dev kconfigwidgets-dev + kcontacts-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev + kimap-dev kio-dev kitemmodels-dev kitemviews-dev kjobwidgets-dev + kmime-dev kontactinterface-dev kparts-dev kpimtextedit-dev kservice-dev + kdepim-apps-libs-dev kuserfeedback-dev kwidgetsaddons-dev + kwindowsystem-dev kxmlgui-dev libkdepim-dev libkleo-dev pimcommon-dev + prison-dev solid-dev sonnet-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="https://download.kde.org/stable/release-service/$pkgver/src/kaddressbook-$pkgver.tar.xz" + +build() { + if [ "$CBUILD" != "$CHOST" ]; then + CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" + fi + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + ${CMAKE_CROSSOPTS} \ + . + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$pkgdir" install +} + +sha512sums="3b9d3f17a73c5687a30b10909004aa9c6ed52210808cb147badae4bc07046cac44b0ae2f64e8c950344e755afe3da0f402fb3ed6688d825d99d5e0faf160df5a kaddressbook-20.04.3.tar.xz" -- cgit v1.2.3-70-g09d2