2015-01-19 22:17:46 +00:00
|
|
|
# Template file for 'miniflux'
|
|
|
|
pkgname=miniflux
|
2015-04-07 10:50:26 +00:00
|
|
|
version=1.1.7
|
|
|
|
revision=1
|
2015-01-19 22:17:46 +00:00
|
|
|
noarch=yes
|
|
|
|
wrksrc=$pkgname
|
|
|
|
conf_files="/usr/share/webapps/${pkgname}/config.php"
|
2015-01-20 12:22:09 +00:00
|
|
|
system_accounts="${pkgname}"
|
2015-01-19 22:17:46 +00:00
|
|
|
miniflux_homedir="/var/lib/${pkgname}"
|
2015-01-20 12:22:09 +00:00
|
|
|
make_dirs="/var/lib/${pkgname} 2770 ${pkgname} ${pkgname}"
|
2015-01-19 22:17:46 +00:00
|
|
|
hostmakedepends="unzip"
|
|
|
|
depends="php-sqlite"
|
2015-01-20 08:19:44 +00:00
|
|
|
short_desc="A minimalist web-based RSS reader"
|
2015-01-19 22:17:46 +00:00
|
|
|
maintainer="Eivind Uggedal <eivind@uggedal.com>"
|
|
|
|
license="AGPL-3"
|
|
|
|
homepage="http://miniflux.net"
|
|
|
|
distfiles="${homepage}/${pkgname}-${version}.zip"
|
2015-04-07 10:50:26 +00:00
|
|
|
checksum=9a95489619a77f0b65f8d20df07f70502b8ce4931ba9b1e5a4a4a0f0fa3f7e79
|
2015-01-19 22:17:46 +00:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
local dest=usr/share/webapps/${pkgname}
|
|
|
|
|
|
|
|
vmkdir $dest
|
|
|
|
vcopy ./* $dest
|
|
|
|
|
2015-01-19 22:26:22 +00:00
|
|
|
sed -e "s|\('DATA_DIRECTORY',\).*)|\1 '/var/lib/${pkgname}')|" \
|
2015-01-19 22:17:46 +00:00
|
|
|
-e "s|\('DEBUG',\).*)|\1 false)|" \
|
|
|
|
-e "s|\('ENABLE_AUTO_UPDATE',\).*)|\1 false)|" \
|
|
|
|
config.default.php > ${DESTDIR}/${dest}/config.php
|
|
|
|
|
|
|
|
rm ${DESTDIR}/$dest/LICENSE
|
|
|
|
}
|