git » qt5-svg.git » commit 5d3ef5d

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 d380415fa66ec30a5522bf2400d2893b42ba95fe

Rebase on 5.15.3

PKGBUILD +6 -8

diff --git a/PKGBUILD b/PKGBUILD
index 29df24b..6092293 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,9 +3,10 @@
 # Contributor: Andrea Scarpino <andrea@archlinux.org>
 
 pkgname=qt5-svg
-pkgver=5.15.2+kde+r16
-pkgrel=2
-_commit=728012f7762ecd5762d493f8796907c6456f31e7
+_basever=5.15.3
+pkgver=5.15.3+kde+r12
+pkgrel=1
+_commit=2f42157cabbd1db6249ccb1d14e6eede80451e0c
 arch=('x86_64')
 url='https://www.qt.io'
 license=('GPL3' 'LGPL3' 'FDL' 'custom')
@@ -13,21 +14,18 @@ pkgdesc='Classes for displaying the contents of SVG files'
 depends=('qt5-base')
 makedepends=('git')
 groups=('qt' 'qt5')
-_pkgfqn=qtsvg
+_pkgfqn=${pkgname/5-/}
 source=(git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
 sha256sums=('SKIP')
 options=(debug)
 
 pkgver() {
   cd $_pkgfqn
-  echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$_commit`
+  echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit`
 }
 
 prepare() {
   mkdir -p build
-
-  cd $_pkgfqn
-  git revert -n 9aac88424a1b76e0198b52437af58a6d94aff8e9 # Revert version bump
 }
 
 build() {