diff options
author | Chocobo1 | 2020-09-16 22:16:01 +0800 |
---|---|---|
committer | Chocobo1 | 2020-09-16 22:16:01 +0800 |
commit | 6d7d6fdf884bf6c8b1f2d542ef4d90128aef8fa0 (patch) | |
tree | 5d650d91efbb371e98c976ae66540b7df00edd58 | |
parent | 3177f070c83a9d43de89c4584ab61b473ed1a225 (diff) | |
download | aur-6d7d6fdf884bf6c8b1f2d542ef4d90128aef8fa0.tar.gz |
upgpkg: qt5-serialbus-git 5.15.1.r1.g6ffb188-1
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 5 insertions, 5 deletions
@@ -1,6 +1,6 @@ pkgbase = qt5-serialbus-git pkgdesc = Qt5 serial bus module - pkgver = 5.15.0_beta1.r5.g8b1a6de + pkgver = 5.15.1.r1.g6ffb188 pkgrel = 1 url = https://www.qt.io/ arch = i686 @@ -1,7 +1,7 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=qt5-serialbus-git -pkgver=5.15.0_beta1.r5.g8b1a6de +pkgver=5.15.1.r1.g6ffb188 pkgrel=1 pkgdesc="Qt5 serial bus module" arch=('i686' 'x86_64') @@ -24,10 +24,10 @@ prepare() { pkgver() { cd "qtserialbus" - _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() { |