summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-02 01:29:11 +0100
committerSam James <sam@gentoo.org>2021-04-03 16:54:51 +0100
commita217edb5a8e0ae32ef05669812e053cd37f191e4 (patch)
tree2b33c9d1ca6b616551557a494278e45468917ff7 /net-analyzer/bwbar
parentmedia-sound/cmusfm: port to EAPI 7, BDEPEND (diff)
downloadgentoo-a217edb5a8e0ae32ef05669812e053cd37f191e4.tar.gz
gentoo-a217edb5a8e0ae32ef05669812e053cd37f191e4.tar.bz2
gentoo-a217edb5a8e0ae32ef05669812e053cd37f191e4.zip
net-analyzer/bwbar: port to EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/bwbar')
-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