diff options
author | Chocobo1 | 2023-04-12 22:35:50 +0800 |
---|---|---|
committer | Chocobo1 | 2023-04-12 22:35:50 +0800 |
commit | 3547a7b539170376bd2e65534b5b463aa214aa98 (patch) | |
tree | 1ce40d1fa3e616b91d95b9982b7269d1ef13dbbb /PKGBUILD | |
parent | 1796bf785b2748b3fb391e4e101b0136c7824a87 (diff) | |
download | aur-qt5-connectivity-git.tar.gz |
upgpkg: qt5-connectivity-git 5.15.9.r0.g3dcb548b-1
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() { |