summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/bwbar/bwbar-1.2.3.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/net-analyzer/bwbar/bwbar-1.2.3.ebuild b/net-analyzer/bwbar/bwbar-1.2.3.ebuild
index 89b0d4b0da7e..6837e519f3ca 100644
--- a/net-analyzer/bwbar/bwbar-1.2.3.ebuild
+++ b/net-analyzer/bwbar/bwbar-1.2.3.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
-inherit eutils
+EAPI=7
DESCRIPTION="The kernel.org \"Current bandwidth utilization\" bar"
HOMEPAGE="https://www.kernel.org/pub/software/web/bwbar/"
@@ -15,9 +14,9 @@ KEYWORDS="amd64 x86"
RDEPEND=">=media-libs/libpng-1.2"
DEPEND="${RDEPEND}"
-src_prepare() {
- epatch "${FILESDIR}"/${P}-libpng15.patch
-}
+PATCHES=(
+ "${FILESDIR}"/${P}-libpng15.patch
+)
src_install() {
dobin bwbar