aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Schmaus <flow@gentoo.org>2022-06-03 11:50:38 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-06-03 11:50:59 +0200
commitbfd63b023c3c043178936fa94b215019997c5c7b (patch)
treece35e6d6c6149b978789ec54f3224bd81a3dd6f0
parentapp-text/lizard: add 1.17.10, drop 1.17.7 (diff)
downloadguru-bfd63b02.tar.gz
guru-bfd63b02.tar.bz2
guru-bfd63b02.zip
sys-process/btop: various cleanup, add missing "|| die" to sed
Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--sys-process/btop/btop-1.2.7.ebuild11
1 files 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() {