From 952859f5bbcb9d2d23556850d9ba442ddb850df8 Mon Sep 17 00:00:00 2001 From: Cedric Girard Date: Wed, 22 Jun 2016 11:35:27 +0200 Subject: [PATCH] first package version --- .SRCINFO | 21 +++++++++++++++++++++ PKGBUILD | 26 ++++++++++++++++++++++++++ freshrss.install | 11 +++++++++++ 3 files changed, 58 insertions(+) create mode 100644 .SRCINFO create mode 100644 PKGBUILD create mode 100644 freshrss.install diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..986d51d --- /dev/null +++ b/.SRCINFO @@ -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 + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..53754a8 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Cedric Girard + +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: diff --git a/freshrss.install b/freshrss.install new file mode 100644 index 0000000..a0ed48c --- /dev/null +++ b/freshrss.install @@ -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: