summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-11-05 19:31:37 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-11-06 21:32:54 +0100
commitc239df470b9ca563b0947c119d10a3b6218ea674 (patch)
tree3f0c1ddac0f1fffd45822ad57532702d4f5f112e /sys-fs/jdiskreport-bin
parentsys-block/raid-check: Port to EAPI 8 (diff)
downloadgentoo-c239df470b9ca563b0947c119d10a3b6218ea674.tar.gz
gentoo-c239df470b9ca563b0947c119d10a3b6218ea674.tar.bz2
gentoo-c239df470b9ca563b0947c119d10a3b6218ea674.zip
sys-fs/jdiskreport-bin: Port to EAPI 8
Closes: https://bugs.gentoo.org/819192 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'sys-fs/jdiskreport-bin')
-rw-r--r--sys-fs/jdiskreport-bin/jdiskreport-bin-1.4.1.ebuild10
1 files changed, 4 insertions, 6 deletions
diff --git a/sys-fs/jdiskreport-bin/jdiskreport-bin-1.4.1.ebuild b/sys-fs/jdiskreport-bin/jdiskreport-bin-1.4.1.ebuild
index 69ad393e3a39..05d9deaeb551 100644
--- a/sys-fs/jdiskreport-bin/jdiskreport-bin-1.4.1.ebuild
+++ b/sys-fs/jdiskreport-bin/jdiskreport-bin-1.4.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=7
inherit java-pkg-2
@@ -12,16 +12,14 @@ MY_P="${MY_PN}-${MY_PV}"
DESCRIPTION="JDiskReport helps you to understand disk drive usage"
HOMEPAGE="http://www.jgoodies.com/freeware/jdiskreport/"
SRC_URI="http://www.jgoodies.com/download/${MY_PN}/${MY_P}.zip"
+S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="freedist"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND="app-arch/unzip"
RDEPEND=">=virtual/jre-1.6"
-
-S=${WORKDIR}/${MY_PN}-${PV}
+BDEPEND="app-arch/unzip"
src_install() {
java-pkg_newjar ${MY_PN}-${PV}.jar