# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libcontacts pkgver=0.2.11.2 pkgrel=4 pkgdesc="A contact cache and various helper functions" url="https://github.com/sailfishos/libcontacts" arch="all" license="BSD-3-Clause" makedepends=" libmlocale-dev libphonenumber-dev mce-dev mlite-dev qt5-qtbase-dev qt5-qtpim-dev qt5-qttools-dev qtcontacts-sqlite-dev " source="https://github.com/sailfishos/libcontacts/archive/$pkgver/libcontacts-$pkgver.tar.gz 0001-update-api-for-qtpim-5.9.patch 0002-add-missing-include-paths.patch " subpackages="$pkgname-dev" options="!check" # No tests build() { qmake-qt5 PREFIX=/usr make } package() { INSTALL_ROOT="$pkgdir" make install # Remove installed tests rm -r "$pkgdir"/opt } sha512sums=" 3a78204571eba5145815a38f0aafe46b880e4269328eb83e5546f532dc1434669d741b44143682724081a8e6ce6955db67f027d306e1658efa27ac28335ed9fc libcontacts-0.2.11.2.tar.gz b42e503ec33f9a8279041e3307b5e99544853993b50cf2a5853b0b8639e5dddcb73f585fe6cdeb2054e065d5d03cad6dae197cc4985e7e85457767a6408fa219 0001-update-api-for-qtpim-5.9.patch d170aff9e3c5fd1cbb10091c02f1160b2211cea36f54b79f9ea204f32fe8dee0bd54668f3b12818085b1c833ccf0df2918d5a2a53d12c4ba1f1095940eca80da 0002-add-missing-include-paths.patch "