# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=libqtolm pkgver=0_git20190930 pkgrel=1 _commit="f2d8e235a4af0625fdedaaf727fef5d51293bf1b" arch="all" url="https://gitlab.com/b0/libQtOlm" pkgdesc="A Qt wrapper for libolm" license="GPL-3.0-or-later" makedepends="cmake qt5-qtbase-dev olm-dev" source="$pkgname-$pkgver.tar.gz::https://gitlab.com/b0/libQtOlm/-/archive/$_commit.tar.gz" subpackages="$pkgname-dev" options="!check" # No tests builddir="$srcdir/$pkgname-$_commit" build() { cmake \ -DCMAKE_BUILD_TYPE=None \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib \ -DBUILD_SHARED_LIBS=true make } package() { DESTDIR="$pkgdir" make install } sha512sums="47ec87cbb69dd1cb64bebd99a3ec27aff599f6eeb412312ac1b3ecd7e55e14f87ce8609341a80fb6931f91c15fb35eac5638bc9a7fcd183cdca2335c2edd14b6 libqtolm-0_git20190930.tar.gz"