projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df372b2
)
app-misc/neofetch: support Prefix.
author
Benda Xu
<heroxbd@gentoo.org>
Sat, 3 Dec 2016 06:53:00 +0000
(15:53 +0900)
committer
Benda Xu
<heroxbd@gentoo.org>
Sat, 3 Dec 2016 06:53:13 +0000
(15:53 +0900)
Package-Manager: portage-2.3.2
app-misc/neofetch/neofetch-1.9.1.ebuild
patch
|
blob
|
history
diff --git
a/app-misc/neofetch/neofetch-1.9.1.ebuild
b/app-misc/neofetch/neofetch-1.9.1.ebuild
index c7bbb2e43e92be75a7e2cf2bc97b8cbf5793e2c7..241401a2495257eb0913c47c524c9e51f0229869 100644
(file)
--- a/
app-misc/neofetch/neofetch-1.9.1.ebuild
+++ b/
app-misc/neofetch/neofetch-1.9.1.ebuild
@@
-4,6
+4,8
@@
EAPI=6
+inherit prefix
+
DESCRIPTION="Simple information system script"
HOMEPAGE="https://github.com/dylanaraps/neofetch"
SRC_URI="https://github.com/dylanaraps/${PN}/archive/${PV}/${P}.tar.gz"
@@
-24,3
+26,12
@@
RDEPEND="${DEPEND}
media-libs/imlib2
media-gfx/imagemagick
)"
+
+src_prepare() {
+ hprefixify ${PN}
+ default
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+}