Initial upload: freshrss-extensions-git 1.17.0-1

This commit is contained in:
Cedric Girard 2021-02-04 10:40:15 +01:00
parent 5e1600a179
commit 917c1628dd
Signed by: X-dark
GPG key ID: E7D0E125DB9519E4
2 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,14 @@
pkgbase = freshrss-extensions-git
pkgdesc = all the official FreshRSS extensions
pkgver = 1.17.0
pkgrel = 1
url = https://github.com/FreshRSS/Extensions
arch = any
license = AGPL
makedepends = git
depends = freshrss
source = git+https://github.com/FreshRSS/Extensions.git
sha256sums = SKIP
pkgname = freshrss-extensions-git

View file

@ -0,0 +1,33 @@
# Maintainer: Cedric Girard <cgirard [dot] archlinux [at] valinor [dot] fr>
pkgname=freshrss-extensions-git
pkgver=1.17.0
pkgrel=1
pkgdesc='all the official FreshRSS extensions'
arch=('any')
url='https://github.com/FreshRSS/Extensions'
license=('AGPL')
depends=('freshrss')
makedepends=('git')
source=("git+https://github.com/FreshRSS/Extensions.git")
sha256sums=('SKIP')
pkgver(){
cd "Extensions"
git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${srcdir}/Extensions"
install -d "${pkgdir}/usr/share/webapps/freshrss/extensions"
for extension in {xExtension-CustomCSS,xExtension-CustomJS,xExtension-ImageProxy,xExtension-QuickCollapse,xExtension-ReadingTime,xExtension-ShareByEmail,xExtension-StickyFeeds,xExtension-TTRSS_API,xExtension-TitleWrap} ; do
cp -r $extension "${pkgdir}"/usr/share/webapps/freshrss/extensions/
done
}
# vim:set ts=2 sw=2 et: