summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r2.ebuild (renamed from dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r1.ebuild)28
1 files changed, 13 insertions, 15 deletions
diff --git a/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r1.ebuild b/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r2.ebuild
index bcb30c654081..dd773d43632c 100644
--- a/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r1.ebuild
+++ b/dev-java/jgoodies-looks/jgoodies-looks-2.6.0-r2.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
JAVA_PKG_IUSE="doc source"
@@ -12,35 +12,33 @@ MY_PV=${PV//./_}
MY_P="${PN}-${MY_PV}"
DESCRIPTION="JGoodies Looks Library"
-HOMEPAGE="http://www.jgoodies.com/"
+HOMEPAGE="https://www.jgoodies.com"
SRC_URI="http://www.jgoodies.com/download/libraries/${MY_PN}/${MY_P}.zip"
+S="${WORKDIR}"/${P}
LICENSE="BSD"
SLOT="2.6"
KEYWORDS="amd64"
-IUSE=""
-CDEPEND="dev-java/jgoodies-common:1.8"
+CP_DEPEND="dev-java/jgoodies-common:1.8"
RDEPEND="
- ${CDEPEND}
- virtual/jre:1.8"
+ ${CP_DEPEND}
+ virtual/jre:1.8
+"
DEPEND="
- ${CDEPEND}
- virtual/jdk:1.8"
-
-BDEPEND="
- app-arch/unzip"
+ ${CP_DEPEND}
+ virtual/jdk:1.8
+"
-S="${WORKDIR}"/${P}
+BDEPEND="app-arch/unzip"
JAVA_SRC_DIR="src"
-JAVA_GENTOO_CLASSPATH="jgoodies-common-1.8"
src_prepare() {
- default
+ java-pkg-2_src_prepare
mkdir src || die
unzip ${P}-sources.jar -d src || die
- rm "${S}"/pom.xml "${S}"/*.jar || die
+ rm "${S}"/*.jar || die
}