summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorYurii Kolesnykov2022-04-27 04:56:16 +0300
committerYurii Kolesnykov2022-04-27 04:56:16 +0300
commit27cf603a948173c3acbf18c263bd6eec99f7aa9a (patch)
treef10ba3eb83c0310e669af326ed5a6a0c65c92c35
parent466a7e46a4a72944fcc9d4676a473739de2606a5 (diff)
downloadaur-27cf603a948173c3acbf18c263bd6eec99f7aa9a.tar.gz
fix pkgver
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ae31a1859ea6..d60a6dc77437 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 29b52dba33c6..0397d70a4738 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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'`