New package: miniflux-1.1.6.

This commit is contained in:
Eivind Uggedal 2015-01-19 22:17:46 +00:00
parent ca92b3d239
commit c42125d68e
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,11 @@
The miniflux database(s) are written to:
/var/lib/miniflux
The open_basedir directive in /etc/php.ini needs to contain this
path to allow file operations below it.
You should also configure the process running miniflux to use
the miniflux group to be able to write to this directory.
Lastly the pdo_sqlite extension needs to be enabled in /etc/php.ini.

32
srcpkgs/miniflux/template Normal file
View file

@ -0,0 +1,32 @@
# Template file for 'miniflux'
pkgname=miniflux
version=1.1.6
revision=1
noarch=yes
wrksrc=$pkgname
conf_files="/usr/share/webapps/${pkgname}/config.php"
system_groups="${pkgname}"
miniflux_homedir="/var/lib/${pkgname}"
make_dirs="/var/lib/${pkgname} 2770 root ${pkgname}"
hostmakedepends="unzip"
depends="php-sqlite"
short_desc="Miniflux is a minimalist web-based RSS reader"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="AGPL-3"
homepage="http://miniflux.net"
distfiles="${homepage}/${pkgname}-${version}.zip"
checksum=208f91be8d7f343520fba1dfc8c6780add6dfc1ff7f63801fd4eae410ed36872
do_install() {
local dest=usr/share/webapps/${pkgname}
vmkdir $dest
vcopy ./* $dest
sed -e "s|\('DATA_DIRECTORY',\).*)|\1 /var/lib/${pkgname})|" \
-e "s|\('DEBUG',\).*)|\1 false)|" \
-e "s|\('ENABLE_AUTO_UPDATE',\).*)|\1 false)|" \
config.default.php > ${DESTDIR}/${dest}/config.php
rm ${DESTDIR}/$dest/LICENSE
}