diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 6 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = qt5-quickcontrols-git pkgdesc = Qt5 Quick Controls module - pkgver = 5.15.1.r1.ge82f3998 + pkgver = 5.15.9.r0.geb9dead1 pkgrel = 1 url = https://www.qt.io/ arch = i686 @@ -11,10 +11,9 @@ pkgbase = qt5-quickcontrols-git license = custom makedepends = git depends = qt5-declarative - provides = qt5-quickcontrols + provides = qt5-quickcontrols=5.15.9.r0.geb9dead1 conflicts = qt5-quickcontrols source = git+https://code.qt.io/qt/qtquickcontrols.git#branch=5.15 sha256sums = SKIP pkgname = qt5-quickcontrols-git - @@ -5,7 +5,7 @@ # Contributor: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com> pkgname=qt5-quickcontrols-git -pkgver=5.15.1.r1.ge82f3998 +pkgver=5.15.9.r0.geb9dead1 pkgrel=1 pkgdesc="Qt5 Quick Controls module" arch=('i686' 'x86_64') @@ -13,7 +13,7 @@ url="https://www.qt.io/" license=('FDL' 'GPL' 'LGPL' 'custom') depends=('qt5-declarative') makedepends=('git') -provides=('qt5-quickcontrols') +provides=("qt5-quickcontrols=$pkgver") conflicts=('qt5-quickcontrols') source=("git+https://code.qt.io/qt/qtquickcontrols.git#branch=5.15") sha256sums=('SKIP') @@ -28,10 +28,10 @@ prepare() { pkgver() { cd "qtquickcontrols" - _tag=$(git tag -l --sort -v:refname | head -n1) + _tag=$(git tag -l --sort -creatordate | grep -E '^v5\.15[0-9\.]+' | head -n1) _rev=$(git rev-list --count $_tag..HEAD) _hash=$(git rev-parse --short HEAD) - printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//;s/-/_/g' + printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//;s/-lts-lgpl//' } build() { |