summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorLars2016-03-14 17:30:21 +0100
committerLars2016-03-14 17:30:21 +0100
commite8514efee1d725d542cb2a6f86cb97828f0523c5 (patch)
treeb45eea7f5c04334aa9c0b4f5aa29c91610489e6c /PKGBUILD
parent8305e4435a3c25700d47efa8cf83643625e1b0dd (diff)
downloadaur-e8514efee1d725d542cb2a6f86cb97828f0523c5.tar.gz
Changed version schema
Diffstat (limited to 'PKGBUILD')
-rwxr-xr-xPKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0941b0ec5278..8cd37fd140e3 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ _git_patches=""
_git_patches+="783:mono-process-name "
pkgname="sonarr-git"
-pkgver=2.0.0.r6665
+pkgver=r6709.f0e505f
pkgrel=1
pkgdesc="Automated TV series manager and downloader - git branch ${_gitbranch}"
arch=(any)
@@ -42,7 +42,7 @@ sha256sums=('SKIP'
pkgver() {
cd "${_gitname}"
- printf "${_gitver}.r%s" "$(git rev-list --count ${_gitbranch})"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {