[arch-commits] Commit in qt5-mqtt/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Fri Nov 20 13:16:31 UTC 2020


    Date: Friday, November 20, 2020 @ 13:16:30
  Author: arojas
Revision: 401548

archrelease: copy trunk to testing-x86_64

Added:
  qt5-mqtt/repos/testing-x86_64/
  qt5-mqtt/repos/testing-x86_64/PKGBUILD
    (from rev 401547, qt5-mqtt/trunk/PKGBUILD)

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Copied: qt5-mqtt/repos/testing-x86_64/PKGBUILD (from rev 401547, qt5-mqtt/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-11-20 13:16:30 UTC (rev 401548)
@@ -0,0 +1,38 @@
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Jan Peter Koenig <public at janpeterkoenig.com>
+# Contributor: Niklas <dev at n1klas.net>
+
+pkgname=qt5-mqtt
+_qtver=5.15.2
+pkgver=${_qtver/-/}
+pkgrel=1
+pkgdesc="Module to implement MQTT protocol v3.1/3.1.1/5.0"
+arch=(x86_64)
+url="http://qt-project.org/"
+license=(GPL3 custom)
+depends=(qt5-base)
+makedepends=(git)
+source=("git://code.qt.io/qt/qtmqtt.git#tag=v$_qtver")
+sha512sums=('SKIP')
+_pkgfqn=${pkgname/5-/}
+
+prepare() {
+  mkdir -p build
+}
+
+build() {
+  cd build
+  qmake ../$_pkgfqn
+  make
+}
+
+package() {
+  cd build
+  make INSTALL_ROOT="$pkgdir" install
+    
+  # Drop QMAKE_PRL_BUILD_DIR because reference the build dir
+  find "$pkgdir"/usr/lib -type f -name '*.prl' \
+    -exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
+  install -Dm644 "$srcdir"/$_pkgfqn/LICENSE.GPL3-EXCEPT \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.GPL3-EXCEPT
+}



More information about the arch-commits mailing list