[arch-commits] Commit in qt5-quickcontrols2/trunk (PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Tue Aug 31 08:46:41 UTC 2021
Date: Tuesday, August 31, 2021 @ 08:46:41
Author: arojas
Revision: 422715
Switch to KDE maintenance branch
Modified:
qt5-quickcontrols2/trunk/PKGBUILD
----------+
PKGBUILD | 19 ++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-08-31 06:48:57 UTC (rev 422714)
+++ PKGBUILD 2021-08-31 08:46:41 UTC (rev 422715)
@@ -2,22 +2,31 @@
# Contributor: Andrea Scarpino <andrea at archlinux.org>
pkgname=qt5-quickcontrols2
-_qtver=5.15.2
-pkgver=${_qtver/-/}
+pkgver=5.15.2+kde+r8
pkgrel=1
+_commit=be66bf9a5618c745d2a6ee2262967af6307b3b07
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Next generation user interface controls based on Qt Quick'
depends=('qt5-declarative')
+makedepends=('git')
optdepends=('qt5-graphicaleffects: for the Material style')
groups=('qt' 'qt5')
-_pkgfqn="${pkgname/5-/}-everywhere-src-${_qtver}"
-source=("https://download.qt.io/official_releases/qt/${pkgver%.*}/${_qtver}/submodules/${_pkgfqn}.tar.xz")
-sha256sums=('671b6ce5f4b8ecc94db622d5d5fb29ef4ff92819be08e5ea55bfcab579de8919')
+_pkgfqn=qtquickcontrols2
+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 2e32d0975eb058c2076597c03b07c67b7ce9027f # Revert version bump
}
build() {
More information about the arch-commits
mailing list