View Raw Ebuild
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
JAVA_PKG_IUSE="doc source test"
MAVEN_ID="com.zwitserloot:${PN}:${PV}"
JAVA_TESTING_FRAMEWORKS="junit-4"
inherit java-pkg-2 java-pkg-simple
DESCRIPTION="Easy Command Line option reading in Java"
HOMEPAGE="https://github.com/rzwitserloot/com.zwitserloot.cmdreader"
SRC_URI="https://github.com/rzwitserloot/com.zwitserloot.cmdreader/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
>=virtual/jdk-1.8:*
"
RDEPEND="
>=virtual/jre-1.8:*
"
S="${WORKDIR}/com.zwitserloot.${P}"
JAVA_SRC_DIR="src"
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
JAVA_TEST_SRC_DIR="test"
src_install() {
java-pkg-simple_src_install
einstalldocs # https://bugs.gentoo.org/789582
}