git » qt5-networkauth.git » commit 0ea7a75

Rebase on 5.15.3

author Antonio Rojas
2022-03-04 11:12:39 UTC
committer Antonio Rojas
2022-03-04 11:12:39 UTC
parent 02a0bc4755abe88f0755ee3c9607d38a962d69a3

Rebase on 5.15.3

PKGBUILD +13 -6

diff --git a/PKGBUILD b/PKGBUILD
index 7594b1a..73dc5aa 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,20 +2,27 @@
 # Maintainer: Felix Yan <felixonmars@archlinux.org>
 
 pkgname=qt5-networkauth
-_qtver=5.15.2
-pkgver=${_qtver/-/}
-pkgrel=2
+_basever=5.15.3
+pkgver=5.15.3+kde+r0
+pkgrel=1
+_commit=958db00a2064f77b354b573102ca2c2b2e07529c
 arch=(x86_64)
 url='https://www.qt.io'
 license=(GPL3 LGPL3 FDL custom)
 pkgdesc='Network authentication module'
 depends=(qt5-base)
+makedepends=(git)
 groups=(qt qt5)
-_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('fcc2ec42faa68561efa8f00cd72e662fbc06563ebc6de1dc42d96bb2997acd85')
+_pkgfqn=${pkgname/5-/}
+source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
+sha256sums=('SKIP')
 options=(debug)
 
+pkgver() {
+  cd $_pkgfqn
+  echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit`
+}
+
 prepare() {
   mkdir -p build
 }