commit: bfd63b023c3c043178936fa94b215019997c5c7b
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 3 09:50:38 2022 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jun 3 09:50:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfd63b02
sys-process/btop: various cleanup, add missing "|| die" to sed
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
sys-process/btop/btop-1.2.7.ebuild | 11 ++---------
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/sys-process/btop/btop-1.2.7.ebuild
b/sys-process/btop/btop-1.2.7.ebuild
index 90014cdbe..44d1c8204 100644
--- a/sys-process/btop/btop-1.2.7.ebuild
+++ b/sys-process/btop/btop-1.2.7.ebuild
@@ -11,22 +11,15 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND="
- >=sys-devel/gcc-10
-"
-
src_prepare() {
default
# btop installs README.md to /usr/share/btop by default
- sed -i 's/^.*cp -p README.md.*$//' Makefile
+ sed -i '/^.*cp -p README.md.*$/d' Makefile || die
}
src_compile() {
# Disable btop optimization flags, since we have our flags in CXXFLAGS
- emake \
- OPTFLAGS=""
+ emake OPTFLAGS=""
}
src_install() {