diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=qt5-connectivity-git -pkgver=5.15.1.r2.g09854eef +pkgver=5.15.9.r0.g3dcb548b pkgrel=1 pkgdesc="Qt5 connectivity module" arch=('i686' 'x86_64') @@ -9,7 +9,7 @@ url="https://www.qt.io/" license=('FDL' 'GPL' 'LGPL' 'custom') depends=('qt5-declarative' 'bluez-libs') makedepends=('git') -provides=('qt5-connectivity') +provides=("qt5-connectivity=$pkgver") conflicts=('qt5-connectivity') source=("git+https://code.qt.io/qt/qtconnectivity.git#branch=5.15") sha256sums=('SKIP') @@ -24,10 +24,10 @@ prepare() { pkgver() { cd "qtconnectivity" - _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() { |