neofetch installs in the wrong path, making it difficult to call without explicit path. $ neofetch -bash: neofetch: command not found $ /usr/usr/bin/neofetch --version Neofetch 5.0.0 equery confirms something seems fishy: $ equery files neofetch Unavailable repository 'gentoo' referenced by masters entry in '/var/git/overlay/pascalbrax/metadata/layout.conf' * Searching for neofetch ... * Contents of app-misc/neofetch-5.0.0: /usr /usr/usr /usr/usr/bin /usr/usr/bin/neofetch /usr/usr/share /usr/usr/share/man /usr/usr/share/man/man1 /usr/usr/share/man/man1/neofetch.1 The ebuild tested is the latest available, as in bug #665476 (marked as RESOLV FIXED). $ cat neofetch-5.0.0.ebuild # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=7 if [[ ${PV} != *9999* ]]; then SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~x86 ~amd64-fbsd" else inherit git-r3 EGIT_REPO_URI="https://github.com/dylanaraps/neofetch.git" fi DESCRIPTION="Simple information system script" HOMEPAGE="https://github.com/dylanaraps/neofetch" LICENSE="MIT-with-advertising" SLOT="0" IUSE="X" RDEPEND="sys-apps/pciutils X? ( media-gfx/imagemagick media-libs/imlib2 www-client/w3m[imlib] x11-apps/xprop x11-apps/xrandr x11-apps/xwininfo )" src_install() { emake DESTDIR="${ED}/usr" install }
Blocking app-misc/neofetch-5.0.0 and emerging 4.0.2 installs correctly in the right path.
commit ac93f5d4b432cf5ec40270b6d79a655112e75f43 Author: Benda Xu <heroxbd@gentoo.org> AuthorDate: Sun Sep 23 09:10:25 2018 Commit: Benda Xu <heroxbd@gentoo.org> CommitDate: Sun Sep 23 09:14:43 2018 app-misc/neofetch: fix double "/usr". Bug: https://bugs.gentoo.org/665476 Package-Manager: Portage-2.3.49, Repoman-2.3.10