diff options
Diffstat (limited to 'x11-plugins/karamba-news_panel/karamba-news_panel-0.5.ebuild')
-rw-r--r-- | x11-plugins/karamba-news_panel/karamba-news_panel-0.5.ebuild | 57 |
1 files changed, 27 insertions, 30 deletions
diff --git a/x11-plugins/karamba-news_panel/karamba-news_panel-0.5.ebuild b/x11-plugins/karamba-news_panel/karamba-news_panel-0.5.ebuild index 8f00ee4e66dd..7a851d3a5a09 100644 --- a/x11-plugins/karamba-news_panel/karamba-news_panel-0.5.ebuild +++ b/x11-plugins/karamba-news_panel/karamba-news_panel-0.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-plugins/karamba-news_panel/karamba-news_panel-0.5.ebuild,v 1.7 2004/06/24 23:01:54 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-plugins/karamba-news_panel/karamba-news_panel-0.5.ebuild,v 1.8 2006/01/18 20:59:42 vanquirius Exp $ IUSE="" DESCRIPTION="RSS News plugin for Karamba" @@ -10,7 +10,8 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc" -RDEPEND=">=x11-misc/superkaramba-0.21 +RDEPEND="( || ( kde-base/superkaramba + >=x11-misc/superkaramba-0.21 ) ) dev-perl/HTML-Parser dev-perl/libwww-perl" @@ -19,60 +20,56 @@ src_unpack () { mv news_panel-${PV} ${P} } -src_compile () { - echo -n "" -} - src_install () { dodir /usr/share/karamba/bin /usr/share/karamba/themes/news_panel - cp rdf.pl ${D}/usr/share/karamba/bin - chmod 755 ${D}/usr/share/karamba/bin/rdf.pl + cp rdf.pl "${D}"/usr/share/karamba/bin + chmod 755 "${D}"/usr/share/karamba/bin/rdf.pl - cp news_panel.py ${D}/usr/share/karamba/themes/news_panel/barrapunto.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/barrapunto.theme + cp news_panel.py "${D}"/usr/share/karamba/themes/news_panel/barrapunto.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/barrapunto.theme sed -e 's#barrapunto.com/barrapunto.rdf#www.bsdtoday.com/backend/bt.rdf#' \ -e 's#pics/barrapunto.png#pics/bsdlogo.png#' \ - news_panel.py > ${D}/usr/share/karamba/themes/news_panel/bsdtoday.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/bsdtoday.theme + news_panel.py > "${D}"/usr/share/karamba/themes/news_panel/bsdtoday.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/bsdtoday.theme sed -e 's#barrapunto.com/barrapunto.rdf#www.cnn.com/cnn.rss#' \ -e 's#pics/barrapunto.png#pics/cnn.gif#' \ - news_panel.py > ${D}/usr/share/karamba/themes/news_panel/cnn.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/cnn.theme + news_panel.py > "${D}"/usr/share/karamba/themes/news_panel/cnn.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/cnn.theme sed -e 's#barrapunto.com/barrapunto.rdf#www.dvdreview.com/rss/newschannel.rss#' \ -e 's#pics/barrapunto.png#pics/dvsreview.gif#' \ - news_panel.py > ${D}/usr/share/karamba/themes/news_panel/dvdreview.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/dvdreview.theme + news_panel.py > "${D}"/usr/share/karamba/themes/news_panel/dvdreview.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/dvdreview.theme sed -e 's#barrapunto.com/barrapunto.rdf#freshmeat.net/backend/fm.rdf#' \ -e 's#pics/barrapunto.png#pics/freshmeat.gif#' \ - news_panel.py > ${D}/usr/share/karamba/themes/news_panel/freshmeat.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/freshmeat.theme + news_panel.py > "${D}"/usr/share/karamba/themes/news_panel/freshmeat.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/freshmeat.theme sed -e 's#barrapunto.com/barrapunto.rdf#www.kde.org/news/kdenews.rdf#' \ -e 's#pics/barrapunto.png#pics/kde_logo.jpg#' \ - news_panel.py > ${D}/usr/share/karamba/themes/news_panel/kdenews.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/kdenews.theme + news_panel.py > "${D}"/usr/share/karamba/themes/news_panel/kdenews.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/kdenews.theme sed -e 's#barrapunto.com/barrapunto.rdf#www.newsisfree.com/export.php3?_f=rss91&_w=f&_i=1443#' \ -e 's#pics/barrapunto.png#pics/niflogo.gif#' \ - news_panel.py > ${D}/usr/share/karamba/themes/news_panel/newsisfree.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/newsisfree.theme + news_panel.py > "${D}"/usr/share/karamba/themes/news_panel/newsisfree.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/newsisfree.theme sed -e 's#barrapunto.com/barrapunto.rdf#www.slashdot.org/slashdot.rdf#' \ -e 's#pics/barrapunto.png#pics/slashdot.gif#' \ - news_panel.py > ${D}/usr/share/karamba/themes/news_panel/slashdot.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/slashdot.theme + news_panel.py > "${D}"/usr/share/karamba/themes/news_panel/slashdot.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/slashdot.theme sed -e 's#barrapunto.com/barrapunto.rdf#www.thinkgeek.com/thinkgeek.rdf#' \ -e 's#pics/barrapunto.png#pics/tg-logo.gif#' \ - news_panel.py > ${D}/usr/share/karamba/themes/news_panel/thinkgeek.py - cp news_panel.theme ${D}/usr/share/karamba/themes/news_panel/thinkgeek.theme + news_panel.py > "${D}"/usr/share/karamba/themes/news_panel/thinkgeek.py + cp news_panel.theme "${D}"/usr/share/karamba/themes/news_panel/thinkgeek.theme - cp -r pics ${D}/usr/share/karamba/themes/news_panel - chmod -R go=u,go-w ${D}/usr/share/karamba/themes/news_panel + cp -r pics "${D}"/usr/share/karamba/themes/news_panel + chmod -R go=u,go-w "${D}"/usr/share/karamba/themes/news_panel - dodoc README CHANGELOG INSTALL LICENSE RDFS TODO + dodoc README CHANGELOG RDFS TODO } |