diff options
author | Michael Orlitzky <mjo@gentoo.org> | 2017-07-24 17:48:15 -0400 |
---|---|---|
committer | Michael Orlitzky <mjo@gentoo.org> | 2017-07-24 17:48:15 -0400 |
commit | 24b8e217230db4ad8420ad9dee744545eeccabf5 (patch) | |
tree | 3134cfa8c3930b25cd82c514aa38a33aa556d239 /media-sound/podracer | |
parent | net-p2p/pybitmessage: new revision sans empty man page. (diff) | |
download | gentoo-24b8e217230db4ad8420ad9dee744545eeccabf5.tar.gz gentoo-24b8e217230db4ad8420ad9dee744545eeccabf5.tar.bz2 gentoo-24b8e217230db4ad8420ad9dee744545eeccabf5.zip |
media-sound/podracer: new revision that unpacks the gzipped man page.
Gentoo-Bug: 619956
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'media-sound/podracer')
-rw-r--r-- | media-sound/podracer/podracer-1.4-r2.ebuild (renamed from media-sound/podracer/podracer-1.4-r1.ebuild) | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/media-sound/podracer/podracer-1.4-r1.ebuild b/media-sound/podracer/podracer-1.4-r2.ebuild index ef770550f2c5..13ff3b40a5e5 100644 --- a/media-sound/podracer/podracer-1.4-r1.ebuild +++ b/media-sound/podracer/podracer-1.4-r2.ebuild @@ -13,19 +13,25 @@ KEYWORDS="~amd64 ~x86" IUSE="" DEPEND="" -RDEPEND=" - app-shells/bash - net-misc/curl -" +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.gz - docompress -x /usr/share/doc/${PF}/sample.subscriptions - insinto /usr/share/doc/${PF} - doins sample.subscriptions + doman podracer.1 + docompress -x "/usr/share/doc/${PF}/sample.subscriptions" + dodoc sample.subscriptions insinto /etc/ doins podracer.conf } |