# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtsensors
_pkgname=qtsensors-opensource-src
pkgver=5.9.6
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="1c82b0e02bc45c914fbc620049b2f4e33bdd0ff858c2f3946d134e4e5dc5927358ff53db0b6d9fcbb6811e36d2a816aacf7f852f377ecff47280ca592eaa92c3  qtsensors-opensource-src-5.9.6.tar.xz"