* [gentoo-commits] repo/gentoo:master commit in: net-news/amphetadesk/, net-news/amphetadesk/files/
@ 2016-05-02 23:16 Austin English
0 siblings, 0 replies; only message in thread
From: Austin English @ 2016-05-02 23:16 UTC (permalink / raw
To: gentoo-commits
commit: a81d4741363d51ac91c97154b841452360ada5ff
Author: Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon May 2 23:05:30 2016 +0000
Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon May 2 23:16:13 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81d4741
net-news/amphetadesk: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846
Package-Manager: portage-2.2.26
net-news/amphetadesk/amphetadesk-0.93.1-r1.ebuild | 42 +++++++++++++++++++++++
net-news/amphetadesk/files/amphetadesk.initd | 2 +-
2 files changed, 43 insertions(+), 1 deletion(-)
diff --git a/net-news/amphetadesk/amphetadesk-0.93.1-r1.ebuild b/net-news/amphetadesk/amphetadesk-0.93.1-r1.ebuild
new file mode 100644
index 0000000..0200adc
--- /dev/null
+++ b/net-news/amphetadesk/amphetadesk-0.93.1-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="AmphetaDesk is a free syndicated news aggregator"
+HOMEPAGE="http://www.disobey.com/amphetadesk/"
+SRC_URI="mirror://sourceforge/sourceforge/amphetadesk/${PN}-src-v${PV}.tar.gz"
+LICENSE="Artistic"
+SLOT="0"
+KEYWORDS="~amd64 ppc x86"
+IUSE=""
+DEPEND="dev-lang/perl
+ dev-perl/libwww-perl
+ dev-libs/expat
+ dev-perl/XML-Parser
+ virtual/perl-IO-Compress"
+S=${WORKDIR}/${PN}-src-v${PV}
+
+src_install() {
+ dodir /usr/share/amphetadesk
+ cp "${S}"/AmphetaDesk.pl "${D}"/usr/share/amphetadesk/AmphetaDesk.pl
+ dodoc README.txt
+ cp -R "${S}"/data "${D}"/usr/share/amphetadesk
+ cp -R "${S}"/docs "${D}"/usr/share/amphetadesk
+ cp -R "${S}"/lib "${D}"/usr/share/amphetadesk
+ cp -R "${S}"/templates "${D}"/usr/share/amphetadesk
+ newinitd "${FILESDIR}"/amphetadesk.initd amphetadesk
+}
+
+pkg_postinst() {
+ # fixes bug #25066 thanks to kloeri
+ /etc/init.d/depscan.sh
+
+ einfo "AmphetaDesk should be started and stopped with the runscript located at "
+ einfo "'/etc/init.d/amphetadesk'. You can access AmphetaDesk after it has been"
+ einfo "started in your browser of choice on port 8888."
+ einfo ""
+ ewarn "If you start AmphetaDesk at boot with rc-update don't give it a browser"
+ ewarn "to start up when it loads (in the options page)"
+}
diff --git a/net-news/amphetadesk/files/amphetadesk.initd b/net-news/amphetadesk/files/amphetadesk.initd
index 288a11b..0f2b02c 100644
--- a/net-news/amphetadesk/files/amphetadesk.initd
+++ b/net-news/amphetadesk/files/amphetadesk.initd
@@ -1,4 +1,4 @@
-#!/sbin/runscript
+#!/sbin/openrc-run
start() {
ebegin "Starting AmphetaDesk"
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-05-02 23:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-02 23:16 [gentoo-commits] repo/gentoo:master commit in: net-news/amphetadesk/, net-news/amphetadesk/files/ Austin English
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox