Add 'freshrss/' from commit 'cfb42b0cd1a2569f1ec81cb27eed107eb3429a6f'

git-subtree-dir: freshrss
git-subtree-mainline: 30f66dfac8
git-subtree-split: cfb42b0cd1
This commit is contained in:
Cedric Girard 2019-02-14 15:23:06 +01:00
commit ec4396168f
3 changed files with 58 additions and 0 deletions

20
freshrss/.SRCINFO Normal file
View file

@ -0,0 +1,20 @@
pkgbase = freshrss
pkgdesc = A free, self-hostable aggregator…
pkgver = 1.13.1
pkgrel = 1
url = http://freshrss.org/
install = freshrss.install
arch = any
license = AGPL
depends = php
optdepends = apache: Web server to run FreshRSS
optdepends = nginx: Web server to run FreshRSS
optdepends = cherokee: Web server to run FreshRSS
optdepends = mysql: Database server to run FreshRSS
optdepends = postgresql: Database server to run FreshRSS
optdepends = sqlite: Database server to run FreshRSS
source = https://github.com/FreshRSS/FreshRSS/archive/1.13.1.tar.gz
sha256sums = 45510d4f9fff1ee530e94e8c3bf35649f0c7cc032118b57346621de0d4dd1abe
pkgname = freshrss

27
freshrss/PKGBUILD Normal file
View file

@ -0,0 +1,27 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=freshrss
pkgver=1.13.1
pkgrel=1
pkgdesc='A free, self-hostable aggregator…'
arch=('any')
url='http://freshrss.org/'
license=('AGPL')
depends=('php')
optdepends=('apache: Web server to run FreshRSS'
'nginx: Web server to run FreshRSS'
'cherokee: Web server to run FreshRSS'
'mysql: Database server to run FreshRSS'
'postgresql: Database server to run FreshRSS'
'sqlite: Database server to run FreshRSS')
install="$pkgname.install"
source=("https://github.com/FreshRSS/FreshRSS/archive/$pkgver.tar.gz")
sha256sums=('45510d4f9fff1ee530e94e8c3bf35649f0c7cc032118b57346621de0d4dd1abe')
package() {
cd "${srcdir}/FreshRSS-$pkgver"
install -d "$pkgdir/usr/share/webapps/freshrss"
cp -r . "$pkgdir/usr/share/webapps/freshrss/"
}
# vim:set ts=2 sw=2 et:

11
freshrss/freshrss.install Normal file
View file

@ -0,0 +1,11 @@
post_install() {
# Make data writable by webserver
chown -R http:http /usr/share/webapps/freshrss/data
echo 'You can now configure your (PHP compatible) web server to run FreshRSS'
}
post_upgrade() {
post_install
}
# vim:set ts=2 sw=2 et: