summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12020-09-16 22:16:46 +0800
committerChocobo12020-09-16 22:16:46 +0800
commit5230abde20c691b1b9d1521f9caebfbbda24f988 (patch)
tree2e51dbe5d3819012b898ad8aa040d4fb6f0f594a
parent60b5f3b9fae991873ad73181b39ef8cb489da1d3 (diff)
downloadaur-5230abde20c691b1b9d1521f9caebfbbda24f988.tar.gz
upgpkg: qt5-serialport-git 5.15.1.r1.gf611325-1
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD8
2 files changed, 5 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d760b0b7510..f9857052a01 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = qt5-serialport-git
pkgdesc = Qt5 serial port module
- pkgver = 5.15.0_beta1.r0.gb30052f
+ pkgver = 5.15.1.r1.gf611325
pkgrel = 1
url = https://www.qt.io/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 9be53eecfb9..d2b33b215cd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=qt5-serialport-git
-pkgver=5.15.0_beta1.r0.gb30052f
+pkgver=5.15.1.r1.gf611325
pkgrel=1
pkgdesc="Qt5 serial port module"
arch=('i686' 'x86_64')
@@ -24,10 +24,10 @@ prepare() {
pkgver() {
cd "qtserialport"
- _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() {