# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtsensors
_pkgname=qtsensors-opensource-src
pkgver=5.9.7
pkgrel=0
pkgdesc="Qt 5 - Library for interfacing with sensors"
url="https://www.qt.io/"
arch="all"
options="!check"
license="LGPLv2 with exceptions OR GPLv3 with exceptions"
depends=""
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-dev"
source="http://download.qt-project.org/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	cd "$builddir"
	qmake
	make
}

package() {
	cd "$builddir"
	make install INSTALL_ROOT="$pkgdir"
}

sha512sums="b07c5a79e9f1db5d64bef6fb92954c7467858d5f00f9bc96f8f7c8651121c1c57de7d21b273827830814919b5fa19720515d3a2dab77bf87876e60fdaedae788  qtsensors-opensource-src-5.9.7.tar.xz"