1 |
commit: bfd63b023c3c043178936fa94b215019997c5c7b |
2 |
Author: Florian Schmaus <flow <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jun 3 09:50:38 2022 +0000 |
4 |
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jun 3 09:50:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfd63b02 |
7 |
|
8 |
sys-process/btop: various cleanup, add missing "|| die" to sed |
9 |
|
10 |
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> |
11 |
|
12 |
sys-process/btop/btop-1.2.7.ebuild | 11 ++--------- |
13 |
1 file changed, 2 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/sys-process/btop/btop-1.2.7.ebuild b/sys-process/btop/btop-1.2.7.ebuild |
16 |
index 90014cdbe..44d1c8204 100644 |
17 |
--- a/sys-process/btop/btop-1.2.7.ebuild |
18 |
+++ b/sys-process/btop/btop-1.2.7.ebuild |
19 |
@@ -11,22 +11,15 @@ LICENSE="Apache-2.0" |
20 |
SLOT="0" |
21 |
KEYWORDS="~amd64 ~x86" |
22 |
|
23 |
-DEPEND="" |
24 |
-RDEPEND="${DEPEND}" |
25 |
-BDEPEND=" |
26 |
- >=sys-devel/gcc-10 |
27 |
-" |
28 |
- |
29 |
src_prepare() { |
30 |
default |
31 |
# btop installs README.md to /usr/share/btop by default |
32 |
- sed -i 's/^.*cp -p README.md.*$//' Makefile |
33 |
+ sed -i '/^.*cp -p README.md.*$/d' Makefile || die |
34 |
} |
35 |
|
36 |
src_compile() { |
37 |
# Disable btop optimization flags, since we have our flags in CXXFLAGS |
38 |
- emake \ |
39 |
- OPTFLAGS="" |
40 |
+ emake OPTFLAGS="" |
41 |
} |
42 |
|
43 |
src_install() { |