aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pimcommon
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-06-19 16:46:35 +0200
committerLeo <thinkabit.ukim@gmail.com>2019-06-20 08:27:45 -0300
commitbe3bcd3c638e01e8536b5e69b1fe4cad5b7e7a0f (patch)
treee84c68f38c3e04dc09d84cdeb8bdb6f81fc8c992 /testing/pimcommon
parentaa783957c26bc20f9566240837247f6becd40606 (diff)
downloadaports-be3bcd3c638e01e8536b5e69b1fe4cad5b7e7a0f.tar.bz2
aports-be3bcd3c638e01e8536b5e69b1fe4cad5b7e7a0f.tar.xz
testing/pimcommon: new aport
Diffstat (limited to 'testing/pimcommon')
-rw-r--r--testing/pimcommon/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/pimcommon/APKBUILD b/testing/pimcommon/APKBUILD
new file mode 100644
index 0000000000..199adf4cb2
--- /dev/null
+++ b/testing/pimcommon/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=pimcommon
+pkgver=19.04.2
+pkgrel=0
+pkgdesc="Common lib for KDEPim"
+arch="all"
+url='https://community.kde.org/KDE_PIM'
+license="GPL-2.0-or-later"
+depends_dev="qt5-qtbase-dev karchive-dev kcodecs-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev ki18n-dev kiconthemes-dev kitemmodels-dev kjobwidgets-dev kio-dev knewstuff-dev kservice-dev kwidgetsaddons-dev kxmlgui-dev akonadi-dev akonadi-contacts-dev kcontacts-dev kimap-dev libkdepim-dev kpimtextedit-dev purpose-dev kmime-dev"
+makedepends="$depends_dev extra-cmake-modules kdesignerplugin-dev kdesignerplugin qt5-qttools-dev"
+checkdepends="xvfb-run"
+source="https://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+subpackages="$pkgname-dev $pkgname-lang"
+
+build() {
+ cmake \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" make install
+}
+sha512sums="5c9b3c0e4ea0336a18e8853377e077db96ae090606d3b35f137270d74d5bb496ad9f21b94373d047395529a1e43ce6914c95c559c69bc28c9f7a6f5b322be5ca pimcommon-19.04.2.tar.xz"