# Maintainer: Natanael Copa pkgname=qt5-qtxmlpatterns pkgver=5.14.1 _ver=${pkgver/_/-} _ver=${_ver/beta0/beta} _ver=${_ver/rc0/rc} _v=${_ver/rc/RC} pkgrel=0 pkgdesc="Qt5 - QtXmlPatterns component" url="https://www.qt.io/developers/" arch="all !armhf" # armhf blocked by qt5-qtdeclarative license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0" makedepends="qt5-qtbase-dev qt5-qtdeclarative-dev" subpackages="$pkgname-dev" case $pkgver in *_beta*|*_rc*) _rel=development_releases;; *) _rel=official_releases;; esac source="https://download.qt.io/$_rel/qt/${pkgver%.*}/$_ver/submodules/qtxmlpatterns-everywhere-src-$_v.tar.xz" builddir="$srcdir"/qtxmlpatterns-everywhere-src-${_v%-*} build() { qmake-qt5 && make } check() { make check } package() { make install INSTALL_ROOT="$pkgdir" } sha512sums="01a1e1af16c37cda8de23ed8da7f42f8f59116a3c7ff35fed4c589ab41f32c9e4ee3ef782517538e7d85ed86ad42bf5cf729bee9c239e4a1d7bf30458403a4ed qtxmlpatterns-everywhere-src-5.14.1.tar.xz"