# Maintainer: Bhushan Shah <bshah@kde.org>
pkgname=libofono-qt
pkgver=1.30
pkgrel=1
pkgdesc="This package contains ofono-qt, a Qt-based library that providesbindings to oFono"
url="https://github.com/Kaffeine/libofono-qt"
arch="all"
license="LGPL-2.1-or-later"
makedepends="
	doxygen
	qt5-qtbase-dev
	"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/Kaffeine/libofono-qt/archive/$pkgver/libofono-qt-$pkgver.tar.gz"
options="!check" # No tests suite

build() {
	qmake-qt5
	make
}

package() {
	INSTALL_ROOT="$pkgdir" make install

	# Remove tests
	rm -r "$pkgdir"/opt
}

sha512sums="496257e9c4512e9333e2dc7b8960e625c4a9bead7b85eccdfa57b58dd9644f227e3b49f890debdf6215e991adc125a35303f2d2162cb9628be15c2319c43e7b9  libofono-qt-1.30.tar.gz"
