author | Antonio Rojas
<arojas@archlinux.org> 2021-08-31 08:46:41 UTC |
committer | Antonio Rojas
<arojas@archlinux.org> 2021-08-31 08:46:41 UTC |
parent | 3f0175849c70d1108f4761f66cdc737fce4cfaa5 |
PKGBUILD | +14 | -5 |
diff --git a/PKGBUILD b/PKGBUILD index 9c0f82e..466d418 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,22 +2,31 @@ # Contributor: Andrea Scarpino <andrea@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() {