1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Maintainer: Felix Yan <felixonmars@archlinux.org>
9 url='https://www.qt.io'
10 license=('GPL3' 'LGPL3' 'FDL' 'custom')
11 pkgdesc='A family of player software for a certain json-based file format for describing 2d vector graphics animations'
13 makedepends=('qt5-declarative')
14 optdepends=('qt5-declarative: QML bindings')
16 _pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
17 source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
18 sha256sums=('cec6095ab8f714e609d2ad3ea8c4fd819461ce8793adc42abe37d0f6dc432517')
33 make INSTALL_ROOT="$pkgdir" install
35 # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
36 find "$pkgdir/usr/lib" -type f -name '*.prl' \
37 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
39 install -d "$pkgdir"/usr/share/licenses
40 ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/${pkgname}