diff options
author | Yurii Kolesnykov | 2022-04-27 04:56:16 +0300 |
---|---|---|
committer | Yurii Kolesnykov | 2022-04-27 04:56:16 +0300 |
commit | 27cf603a948173c3acbf18c263bd6eec99f7aa9a (patch) | |
tree | f10ba3eb83c0310e669af326ed5a6a0c65c92c35 | |
parent | 466a7e46a4a72944fcc9d4676a473739de2606a5 (diff) | |
download | aur-27cf603a948173c3acbf18c263bd6eec99f7aa9a.tar.gz |
fix pkgver
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,7 @@ pkgbase = qbittorrent-git - pkgver = 4.5.0.alpha1.r238.gcf061b7d3 + pkgver = 4.5.0alpha1.r320.gde8377ab5 pkgrel = 1 + epoch = 1 url = https://www.qbittorrent.org arch = x86_64 license = custom @@ -3,8 +3,9 @@ pkgbase=qbittorrent-git pkgname=(qbittorrent-git qbittorrent-nox-git) -pkgver=4.5.0.alpha1.r238.gcf061b7d3 +pkgver=4.5.0alpha1.r320.gde8377ab5 pkgrel=1 +epoch=1 arch=(x86_64) url='https://www.qbittorrent.org' license=(custom GPL) @@ -26,7 +27,7 @@ pkgver() { local _cmake_ver=`printf "${_major}.${_minor}.${_bugfix}"` [[ "${_build}" -ne 0 ]] && _cmake_ver=`printf "${_cmake_ver}.${_build}"` - [[ -n "${_status}" ]] && _cmake_ver=`printf "${_cmake_ver}.${_status}"` + [[ -n "${_status}" ]] && _cmake_ver=`printf "${_cmake_ver}${_status}"` # cutting off 'release-' prefix that presents in the git tag local _git_ver=`git describe --long --tags | sed 's/^release-//;s/\([^-]*-g\)/r\1/;s/-/./g'` |