first package version

This commit is contained in:
Cedric Girard 2016-06-22 11:35:27 +02:00
commit 952859f5bb
3 changed files with 58 additions and 0 deletions

21
.SRCINFO Normal file
View file

@ -0,0 +1,21 @@
# Generated by mksrcinfo v8
# Wed Jun 22 09:35:13 UTC 2016
pkgbase = freshrss
pkgdesc = A free, self-hostable aggregator…
pkgver = 1.2.0
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 = sqlite: Database server to run FreshRSS
source = https://github.com/FreshRSS/FreshRSS/archive/1.2.0.tar.gz
sha256sums = 492ed44059c5db500bb0fae5e1c98522cf015a95b7e4371d3ec592a9c451ee08
pkgname = freshrss

26
PKGBUILD Normal file
View file

@ -0,0 +1,26 @@
# Maintainer: Cedric Girard <girard.cedric@gmail.com>
pkgname=freshrss
pkgver=1.2.0
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'
'sqlite: Database server to run FreshRSS')
install="$pkgname.install"
source=("https://github.com/FreshRSS/FreshRSS/archive/$pkgver.tar.gz")
sha256sums=('492ed44059c5db500bb0fae5e1c98522cf015a95b7e4371d3ec592a9c451ee08')
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.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: