www-apps/owncloud-apps-news: Its actually a zip file
[portage-overlay.git] / www-apps / owncloud-apps-news / owncloud-apps-news-9.0.4.1.ebuild
1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=6
6
7 inherit eutils
8
9 DESCRIPTION="An RSS/Atom feed reader which can be synced with many mobile devices."
10 HOMEPAGE="http://apps.owncloud.com/content/show.php/News?content=168040"
11
12 LICENSE="AGPL"
13 SLOT="0"
14 IUSE=""
15 SRC_URI="https://apps.owncloud.com/CONTENT/content-files/174796-news.zip -> c${P}.zip"
16
17 KEYWORDS="~amd64 ~x86"
18
19 DEPEND=""
20 RDEPEND=">=www-apps/owncloud-9.1.0"
21
22 MY_PN="news"
23 S="${WORKDIR}/${MY_PN}/"
24
25 src_install()
26 {
27         insinto "/var/lib/owncloud/apps/${MY_PN}"
28         doins -r *
29 }
30
31 pkg_postinst()
32 {
33         elog "This package install the application into /var/lib/owncloud/apps"
34         elog "to use it two things needs to be configured."
35         elog "(i) config/config.php needs to add apps path c.f. http://doc.owncloud.org/server/6.0/admin_manual/configuration/configuration_apps.html"
36         elog "(ii) a symlink will have to be created pointing to the location of url variable from this folder"
37 }