1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 pkgname=qt5-xmlpatterns
9 url='https://www.qt.io'
10 license=('GPL3' 'LGPL3' 'FDL' 'custom')
11 pkgdesc='Support for XPath, XQuery, XSLT and XML schema validation'
13 makedepends=('qt5-declarative')
14 optdepends=('qt5-declarative: QML bindings')
15 conflicts=('qtchooser')
17 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
18 source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
19 sha256sums=('76ea2162a7c349188d7e7e4f6c77b78e8a205494c90fee3cea3487a1ae2cf2fa')
35 make INSTALL_ROOT="$pkgdir" install
37 # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
38 find "$pkgdir/usr/lib" -type f -name '*.prl' \
39 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
41 install -d "$pkgdir"/usr/share/licenses
42 ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}