# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=qt5-qtxmlpatterns
_pkgname=qtxmlpatterns-everywhere-src
pkgver=5.12.9
pkgrel=0
pkgdesc="Qt support library for XPath, XQuery, XSLT, and XML schema validation"
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"
depends=""
makedepends="qt5-qtbase-dev"
subpackages="$pkgname-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="8151f3aa91dd7d0d9ab1fe82696f065b3e7ae837dfcf4c021cd2975e63ccbdf9d6ca80af1b099e2b369c394db9bebfc395f2b2d77060277b04e227e15c2e2c9a  qtxmlpatterns-everywhere-src-5.12.9.tar.xz"