diff options
author | 2015-06-14 17:26:59 +0200 | |
---|---|---|
committer | 2015-10-11 10:49:22 +0200 | |
commit | f1314568d79ae8067878ef214d4e0b456a42ba05 (patch) | |
tree | 70bc7005a04340322a9e4df97a969994984c08b9 /app-portage/portage-bashrc-mv/portage-bashrc-mv-13.5.ebuild | |
parent | Bump portage-bashrc-mv, classic-theme-restorer (diff) | |
download | mv-f1314568d79ae8067878ef214d4e0b456a42ba05.tar.gz mv-f1314568d79ae8067878ef214d4e0b456a42ba05.tar.bz2 mv-f1314568d79ae8067878ef214d4e0b456a42ba05.zip |
Bump portage-bashrc-mv
Diffstat (limited to 'app-portage/portage-bashrc-mv/portage-bashrc-mv-13.5.ebuild')
-rw-r--r-- | app-portage/portage-bashrc-mv/portage-bashrc-mv-13.5.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-portage/portage-bashrc-mv/portage-bashrc-mv-13.5.ebuild b/app-portage/portage-bashrc-mv/portage-bashrc-mv-13.5.ebuild new file mode 100644 index 00000000..51dd2d81 --- /dev/null +++ b/app-portage/portage-bashrc-mv/portage-bashrc-mv-13.5.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +RESTRICT="mirror" +inherit eutils + +DESCRIPTION="Provide support for /etc/portage/bashrc.d and /etc/portage/package.cflags" +HOMEPAGE="https://github.com/vaeth/portage-bashrc-mv/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="!<dev-util/ccache-3.2" + +src_prepare() { + epatch_user +} + +src_install() { + dodoc NEWS README + exeinto "/usr/share/doc/${PF}" + doexe fix-portage-2.2.15 + docompress -x "/usr/share/doc/${PF}/fix-portage-2.2.15" + insinto /etc/portage + doins -r bashrc bashrc.d + docompress /etc/portage/bashrc.d/README +} + +pkg_postinst() { + case ${REPLACING_VERSIONS} in + [0-9].*|1[0-2].*) + ewarn "Remember to run /usr/share/doc/${PF}/fix-portage-2.2.15" + ewarn "as the first command after upgrading to >=portage-2.2.15" + ewarn "See NEWS for details";; + esac + optfeature "improved mask handling" app-portage/eix + optfeature "output of expected emerge time" app-portage/portage-utils + optfeature "detailed information output in title bar" app-shells/runtitle + ! test -d /var/cache/gpo || \ + ewarn "Obsolete /var/cache/gpo found. Please remove" +} |