diff options
author | redfish | 2019-03-02 11:05:16 -0500 |
---|---|---|
committer | redfish | 2019-03-02 11:05:16 -0500 |
commit | fd592cf5e333f628d2a030145a0a7c55332f20d2 (patch) | |
tree | c8e964f212e507edc83dbe4dcfb535be8134625c | |
parent | befe29669a3d85899b22dce3c15427859772f244 (diff) | |
download | aur-fd592cf5e333f628d2a030145a0a7c55332f20d2.tar.gz |
update to 2.20.7
Also, add the git revision to pkgver as is the convention with
VCS packages.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 8 insertions, 8 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sun Feb 10 19:26:06 UTC 2019 +# Sat Mar 2 16:03:38 UTC 2019 pkgbase = flexget-git pkgdesc = Automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more. - pkgver = 2.18.3 + pkgver = 2.20.7 pkgrel = 1 url = http://flexget.com/ arch = any @@ -46,7 +46,7 @@ pkgbase = flexget-git optdepends = python-boto3: SNS output plugin provides = flexget conflicts = flexget - source = git+https://github.com/Flexget/Flexget/#tag=2.18.3 + source = git+https://github.com/Flexget/Flexget/#tag=2.20.7 source = flexget.service source = flexget@.service sha256sums = SKIP @@ -7,7 +7,7 @@ pkgname=flexget-git _pkgname=Flexget -pkgver=2.18.3 +pkgver=2.20.7.r0.gc7162fdcc pkgrel=1 pkgdesc="Automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more." @@ -75,10 +75,10 @@ sha256sums=('SKIP' 'e2c3a958ed0c286337cd37fba1d6cbdf4306c57fcddf2b9cc43615ce80ae83aa' 'aceecee5496a34c14c12ed5ad8b97197de32896f358b5aef63a84bf4a419756a') -#pkgver() { -# cd Flexget -# printf "%s.r%s.%s" "$(grep __version__ flexget/_version.py | sed -r "s/.*([0-9].*\.[0-9].*\.[0-9].*)\.dev.*/\1/g")" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -#} +pkgver() { + cd "${_pkgname}" + git describe --tags --long | sed 's/^v//' | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} prepare() { cd "${_pkgname}" |