From 24b8e217230db4ad8420ad9dee744545eeccabf5 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 24 Jul 2017 17:48:15 -0400 Subject: media-sound/podracer: new revision that unpacks the gzipped man page. Gentoo-Bug: 619956 Package-Manager: Portage-2.3.6, Repoman-2.3.1 --- media-sound/podracer/podracer-1.4-r1.ebuild | 31 ------------------------ media-sound/podracer/podracer-1.4-r2.ebuild | 37 +++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 31 deletions(-) delete mode 100644 media-sound/podracer/podracer-1.4-r1.ebuild create mode 100644 media-sound/podracer/podracer-1.4-r2.ebuild (limited to 'media-sound/podracer') diff --git a/media-sound/podracer/podracer-1.4-r1.ebuild b/media-sound/podracer/podracer-1.4-r1.ebuild deleted file mode 100644 index ef770550f2c5..000000000000 --- a/media-sound/podracer/podracer-1.4-r1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="A simple podcast aggregator, designed for cron" -HOMEPAGE="http://podracer.sourceforge.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - app-shells/bash - net-misc/curl -" - -src_install() { - dobin podracer - sed -i -e "s:sample=/usr/share/doc/\$progname/sample.subscriptions:sample=/usr/share/doc/${PF}/sample.subscriptions:" "${D}"/usr/bin/podracer || die - dodoc CREDITS README ChangeLog TODO - doman podracer.1.gz - docompress -x /usr/share/doc/${PF}/sample.subscriptions - insinto /usr/share/doc/${PF} - doins sample.subscriptions - insinto /etc/ - doins podracer.conf -} diff --git a/media-sound/podracer/podracer-1.4-r2.ebuild b/media-sound/podracer/podracer-1.4-r2.ebuild new file mode 100644 index 000000000000..13ff3b40a5e5 --- /dev/null +++ b/media-sound/podracer/podracer-1.4-r2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A simple podcast aggregator, designed for cron" +HOMEPAGE="http://podracer.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="app-shells/bash + net-misc/curl" + +src_unpack() { + default + + # Bug 619956. Change directories first to ensure that "unpack" outputs + # to ${S} and not to ${WORKDIR}. + cd "${S}" || die + unpack "${S}/podracer.1.gz" +} + +src_install() { + dobin podracer + sed -i -e "s:sample=/usr/share/doc/\$progname/sample.subscriptions:sample=/usr/share/doc/${PF}/sample.subscriptions:" "${D}"/usr/bin/podracer || die + dodoc CREDITS README ChangeLog TODO + doman podracer.1 + docompress -x "/usr/share/doc/${PF}/sample.subscriptions" + dodoc sample.subscriptions + insinto /etc/ + doins podracer.conf +} -- cgit v1.2.3-65-gdbad