# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtquickcontrols
_pkgname=qtquickcontrols-everywhere-src
pkgver=5.12.6
pkgrel=0
pkgdesc="Controls for use with Qt Quick"
url="https://www.qt.io/"
arch="all"
license="(LGPL-3.0-only WITH Qt-LGPL-exception-1.1 OR GPL-3.0-only WITH Qt-GPL-exception-1.0) AND GFDL-1.3"
depends=""
makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev"
source="https://download.qt.io/official_releases/qt/${pkgver%.*}/$pkgver/submodules/$_pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$_pkgname-$pkgver

build() {
	qmake
	make
}

check() {
	make check
}

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

sha512sums="901bcf7c800406f2749ebc251a7b0419fdbab4599881475aae7f74ce4eac5347837f5e667f78774ad914a1c3fbf42e144606c9592bff3f34e899870709fb4c87  qtquickcontrols-everywhere-src-5.12.6.tar.xz"