[arch-commits] Commit in qt5-websockets/trunk (PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Sun Nov 14 10:12:06 UTC 2021


    Date: Sunday, November 14, 2021 @ 10:12:06
  Author: arojas
Revision: 428422

Switch to KDE maintenance branch

Modified:
  qt5-websockets/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-14 09:00:17 UTC (rev 428421)
+++ PKGBUILD	2021-11-14 10:12:06 UTC (rev 428422)
@@ -3,22 +3,31 @@
 
 pkgname=qt5-websockets
 _qtver=5.15.2
-pkgver=${_qtver/-/}
+pkgver=5.15.2+kde+r4
 pkgrel=1
+_commit=e7883bc64440b1ff4666272ac6eb710ee4bc221b
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
 pkgdesc='Provides WebSocket communication compliant with RFC 6455'
 depends=('qt5-base')
-makedepends=('qt5-declarative')
+makedepends=('qt5-declarative' 'git')
 optdepends=('qt5-declarative: QML bindings')
 groups=('qt' 'qt5')
-_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('a0b42d85dd34ff6e2d23400e02f83d8b85bcd80e60efd1521d12d9625d4a233f')
+_pkgfqn=qtwebsockets
+source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
+sha256sums=('SKIP')
 
+pkgver() {
+  cd $_pkgfqn
+  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
+}
+
 prepare() {
   mkdir -p build
+
+  cd $_pkgfqn
+  git revert -n 767afe93c3f104716a68ff563d4a4e4ee0a62d3d # Revert version bump
 }
 
 build() {



More information about the arch-commits mailing list