upgpkg: freshrss-extensions-git r136.7af45f2-1

pkgver
This commit is contained in:
Cedric Girard 2021-02-04 10:43:44 +01:00
parent 917c1628dd
commit c274a3124d
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 7 additions and 3 deletions

View file

@ -1,6 +1,6 @@
pkgbase = freshrss-extensions-git pkgbase = freshrss-extensions-git
pkgdesc = all the official FreshRSS extensions pkgdesc = all the official FreshRSS extensions
pkgver = 1.17.0 pkgver = r136.7af45f2
pkgrel = 1 pkgrel = 1
url = https://github.com/FreshRSS/Extensions url = https://github.com/FreshRSS/Extensions
arch = any arch = any

View file

@ -1,7 +1,7 @@
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr> # Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
pkgname=freshrss-extensions-git pkgname=freshrss-extensions-git
pkgver=1.17.0 pkgver=r136.7af45f2
pkgrel=1 pkgrel=1
pkgdesc='all the official FreshRSS extensions' pkgdesc='all the official FreshRSS extensions'
arch=('any') arch=('any')
@ -15,7 +15,11 @@ sha256sums=('SKIP')
pkgver(){ pkgver(){
cd "Extensions" cd "Extensions"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ( set -o pipefail
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
)
} }