1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Jan Peter Koenig <public@janpeterkoenig.com>
3 # Contributor: Niklas <dev@n1klas.net>
9 pkgdesc="Module to implement MQTT protocol v3.1/3.1.1/5.0"
11 url="http://qt-project.org/"
15 source=("git+https://code.qt.io/qt/qtmqtt.git#tag=v$_qtver")
17 _pkgfqn=${pkgname/5-/}
31 make INSTALL_ROOT="$pkgdir" install
33 # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
34 find "$pkgdir"/usr/lib -type f -name '*.prl' \
35 -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
36 install -Dm644 "$srcdir"/$_pkgfqn/LICENSE.GPL3-EXCEPT \
37 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.GPL3-EXCEPT