diff options
author | Chocobo1 | 2020-09-16 22:14:14 +0800 |
---|---|---|
committer | Chocobo1 | 2020-09-16 22:14:14 +0800 |
commit | 1b7cb83e20e78d9120deb0c074972e886e522588 (patch) | |
tree | 8b842f127f63720820d346f4c1130af99017dad7 | |
parent | e24a7413c12439d2b86c66c9ce6cbd8e0429a31d (diff) | |
download | aur-1b7cb83e20e78d9120deb0c074972e886e522588.tar.gz |
upgpkg: qt5-quickcontrols2-git 5.15.1.r6.g59aaf903-1
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = qt5-quickcontrols2-git pkgdesc = Qt5 Quick Controls 2 module - pkgver = 5.15.0_beta1.r0.g35afc8d2 + pkgver = 5.15.1.r6.g59aaf903 pkgrel = 1 url = https://www.qt.io/ arch = i686 @@ -1,7 +1,7 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=qt5-quickcontrols2-git -pkgver=5.15.0_beta1.r0.g35afc8d2 +pkgver=5.15.1.r6.g59aaf903 pkgrel=1 pkgdesc="Qt5 Quick Controls 2 module" arch=('i686' 'x86_64') @@ -25,10 +25,10 @@ prepare() { pkgver() { cd "qtquickcontrols2" - _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() { |