summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-20 00:21:31 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-07-20 00:21:31 +0000
commitcff9035f661a3ecec808f1b8e2ad4962c31a9bcb (patch)
tree35c5a3254b59c54c2a0963ec73f918541d587988
parente73352470813bb392bb328a5cb2affaebbc52e84 (diff)
downloadpackages-cff9035f661a3ecec808f1b8e2ad4962c31a9bcb.tar.gz
packages-cff9035f661a3ecec808f1b8e2ad4962c31a9bcb.tar.bz2
packages-cff9035f661a3ecec808f1b8e2ad4962c31a9bcb.tar.xz
packages-cff9035f661a3ecec808f1b8e2ad4962c31a9bcb.zip
user/pimcommon: New package
-rw-r--r--user/pimcommon/APKBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/user/pimcommon/APKBUILD b/user/pimcommon/APKBUILD
new file mode 100644
index 000000000..abe9de1df
--- /dev/null
+++ b/user/pimcommon/APKBUILD
@@ -0,0 +1,46 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=pimcommon
+pkgver=20.04.3
+pkgrel=0
+pkgdesc="Common files for KDE PIM software"
+url="https://kontact.kde.org/"
+arch="all"
+license="LGPL-2.0+ AND GPL-2.0+"
+depends=""
+makedepends="qt5-qtbase-dev qt5-qttools-dev cmake extra-cmake-modules boost-dev
+ karchive-dev kauth-dev kbookmarks-dev kcodecs-dev kcompletion-dev
+ kconfig-dev kconfigwidgets-dev kcontacts-dev kcoreaddons-dev ki18n-dev
+ kimap-dev kio-dev kitemmodels-dev kitemviews-dev kjobwidgets-dev
+ kmime-dev knewstuff-dev kpimtextedit-dev kservice-dev ktextwidgets-dev
+ kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev libkdepim-dev
+ purpose-dev solid-dev sonnet-dev
+ akonadi-dev akonadi-contacts-dev attica-dev libxslt-dev"
+subpackages="$pkgname-dev $pkgname-lang"
+source="https://download.kde.org/stable/release-service/$pkgver/src/pimcommon-$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() {
+ QT_QPA_PLATFORM=offscreen CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="63396ba86cbcd6a8e53981cac79f30ead57dbe06eb1772274a185726117b2bbcb52f8c8f0dc9a8d9534f147615d985ed0d6812e466989b6968944b775ca2dd31 pimcommon-20.04.3.tar.xz"