summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12020-09-16 22:07:55 +0800
committerChocobo12020-09-16 22:07:55 +0800
commit1796bf785b2748b3fb391e4e101b0136c7824a87 (patch)
treedd8add8cd896176c999cf471dd25a41d306d6aac
parent83d198ebf9fe4c1c9f8118bff704b56f950d175c (diff)
downloadaur-1796bf785b2748b3fb391e4e101b0136c7824a87.tar.gz
upgpkg: qt5-connectivity-git 5.15.1.r2.g09854eef-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e863a44e5866..fa6d882e72aa 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = qt5-connectivity-git
pkgdesc = Qt5 connectivity module
- pkgver = 5.15.0_beta1.r4.g531443d1
+ pkgver = 5.15.1.r2.g09854eef
pkgrel = 1
url = https://www.qt.io/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 569542607ea1..ae1331ed1dc2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=qt5-connectivity-git
-pkgver=5.15.0_beta1.r4.g531443d1
+pkgver=5.15.1.r2.g09854eef
pkgrel=1
pkgdesc="Qt5 connectivity module"
arch=('i686' 'x86_64')
@@ -24,10 +24,10 @@ prepare() {
pkgver() {
cd "qtconnectivity"
- _tag=$(git tag -l --sort -v:refname | sed -n '1,1{s/v//p}')
- _rev=$(git rev-list --count v$_tag..HEAD)
+ _tag=$(git tag -l --sort -v:refname | 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/-/_/g'
+ printf "%s.r%s.g%s" "$_tag" "$_rev" "$_hash" | sed 's/^v//;s/-/_/g'
}
build() {