summaryrefslogtreecommitdiff
blob: ed8aa03c69f96241c7c3d29d93f99ed378d98e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Simple information system script"
HOMEPAGE="https://github.com/dylanaraps/neofetch"
SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
LICENSE="MIT-with-advertising"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="X"

RDEPEND="sys-apps/pciutils
	X? (
		x11-apps/xprop
		x11-apps/xwininfo
		x11-apps/xrandr
		www-client/w3m[imlib]
		media-libs/imlib2
		media-gfx/imagemagick
	)"

pkg_postinst() {
	ewarn "A lot of things have changed in neofetch 3.0, and we cannot"
	ewarn "guarantee that your config will work in neofetch 3.0. As such,"
	ewarn "we recommend you to use a new config. You can delete your current"
	ewarn "config from $HOME/.config/neofetch"

	einfo "The system-wide config has been moved from /usr/share/neofetch/config"
	einfo "to /etc/neofetch/config."
}