upgpkg: freshrss-extensions-git r136.7af45f2-1
pkgver
This commit is contained in:
parent
917c1628dd
commit
c274a3124d
2 changed files with 7 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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)"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue