summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2022-05-23 14:29:51 +0200
committerFlorian Schmaus <flow@gentoo.org>2022-05-30 10:36:25 +0200
commite23f01ea6f8da41e6f6800331460bdf13be7cfd0 (patch)
tree914458a3d7b44b51eeefeaeccc45f2186025a45a /dev-java/jopt-simple/jopt-simple-5.0.4.ebuild
parentdev-java/eclipse-ecj: virtual/jdk-11:*" -> -17:* (diff)
downloadgentoo-e23f01ea6f8da41e6f6800331460bdf13be7cfd0.tar.gz
gentoo-e23f01ea6f8da41e6f6800331460bdf13be7cfd0.tar.bz2
gentoo-e23f01ea6f8da41e6f6800331460bdf13be7cfd0.zip
dev-java/jopt-simple: add 5.0.4
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/25616 Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'dev-java/jopt-simple/jopt-simple-5.0.4.ebuild')
-rw-r--r--dev-java/jopt-simple/jopt-simple-5.0.4.ebuild30
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-java/jopt-simple/jopt-simple-5.0.4.ebuild b/dev-java/jopt-simple/jopt-simple-5.0.4.ebuild
new file mode 100644
index 000000000000..f6331ef9f35c
--- /dev/null
+++ b/dev-java/jopt-simple/jopt-simple-5.0.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="A Java library for parsing command line options"
+HOMEPAGE="https://jopt-simple.github.io/jopt-simple/"
+SRC_URI="https://github.com/jopt-simple/jopt-simple/archive/jopt-simple-${PV}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+S="${WORKDIR}/${PN}-${P}"
+
+JAVA_SRC_DIR="src/main/java"
+JAVA_RESOURCE_DIRS="src/main/resources"
+
+src_install() {
+ einstalldocs
+ java-pkg-simple_src_install
+}