diff options
Diffstat (limited to 'community/akonadi-contacts/APKBUILD')
-rw-r--r-- | community/akonadi-contacts/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/akonadi-contacts/APKBUILD b/community/akonadi-contacts/APKBUILD new file mode 100644 index 0000000000..3092e1cf22 --- /dev/null +++ b/community/akonadi-contacts/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Bart Ribbers <bribbers@disroot.org> +# Maintainer: Bart Ribbers <bribbers@disroot.org> +pkgname=akonadi-contacts +pkgver=19.12.3 +pkgrel=0 +pkgdesc="Libraries and daemons to implement Contact Management in Akonadi" +arch="all !armhf" +url="https://community.kde.org/KDE_PIM" +license="LGPL-2.1" +depends_dev="qt5-qtbase-dev kio-dev ki18n-dev kcompletion-dev kconfig-dev + kcodecs-dev kiconthemes-dev kdbusaddons-dev kservice-dev ktextwidgets-dev + kwidgetsaddons-dev kxmlgui-dev prison-dev kcontacts-dev kmime-dev + akonadi-dev" +makedepends="$depends_dev extra-cmake-modules" +checkdepends="xvfb-run" +source="https://download.kde.org/stable/release-service/$pkgver/src/akonadi-contacts-$pkgver.tar.xz" +subpackages="$pkgname-dev $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 xvfb-run ctest +} + +package() { + DESTDIR="$pkgdir" make -C build install +} +sha512sums="23f896114ba66cce06069538768559c665e6d0bf7bc24b3cd2d801d41e7421f2f79f670a0af740dfbcd3fdc48584ff77cf2e156159450e484b0b8b137cdee4c2 akonadi-contacts-19.12.3.tar.xz" |