aboutsummaryrefslogblamecommitdiffstats
path: root/net-news/miniflux/miniflux-2.0.21.ebuild
blob: 747140f0480625a22342e145b8a15357819fd556 (plain) (tree)
























                                                                                     
                                











                                                      
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit golang-build golang-vcs-snapshot
EGO_PN="miniflux.app"

KEYWORDS="amd64 x86"
EGIT_COMMIT="${PV}"
SRC_URI="https://github.com/${PN}/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"

DESCRIPTION="Minimalist and opinionated feed reader"
HOMEPAGE="https://miniflux.app/"

LICENSE="Apache-2.0"
SLOT="0"
IUSE=""
RESTRICT="mirror"

DEPEND="
	acct-user/miniflux
	acct-group/miniflux"

RDEPEND="${DEPEND}
	>=dev-db/postgresql-9.5"

src_install() {
	newbin ${EGO_PN} ${PN}
	doman src/${EGO_PN}/${PN}.1

	insinto /etc/miniflux
	doins "${FILESDIR}/miniflux.conf"
	fowners root:miniflux /etc/miniflux
	fperms 0750 /etc/miniflux

	newinitd "${FILESDIR}/miniflux.initd" miniflux
}