diff options
Diffstat (limited to 'dev-java/java-getopt')
-rw-r--r-- | dev-java/java-getopt/Manifest | 3 | ||||
-rw-r--r-- | dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild | 32 | ||||
-rw-r--r-- | dev-java/java-getopt/metadata.xml | 11 |
3 files changed, 41 insertions, 5 deletions
diff --git a/dev-java/java-getopt/Manifest b/dev-java/java-getopt/Manifest index f4c01b0bc5dd..0ea45e0399ed 100644 --- a/dev-java/java-getopt/Manifest +++ b/dev-java/java-getopt/Manifest @@ -1,3 +1,4 @@ DIST java-getopt-1.0.14.tar.gz 45561 BLAKE2B d82234c2e49f6f556ddabd38cd283a63c2f6365ed23c227c42c48c75d834ce7de6a3fdc84c890762f05a63d4e09bab7e584f1cb9d17ef0a4784cd36c62f3128e SHA512 611a08b60ed787eaa1bf6bf6ce45075ed2bd75d7eead941879e019ef12cb4fcd7a196d0e64e9a75adaf35240c872f14590d7afa4e2dda03016fa970bd2e2dc25 EBUILD java-getopt-1.0.14-r1.ebuild 834 BLAKE2B c370b2158f06519adf35f5d626d996d63e807dcf9b9570445764220e8a2500fc925ca0f0572c6f9c64d71966128e8fbd39da6d9cc38c54e53b9e77afb3e07ea6 SHA512 ef61d990d4b366aebbe7939ca4193abe2d1bc62e873216244b0f5087d553942ea3b91aa081f6178d110663e3634d963eb951143bdd11670de5813f918b459171 -MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f +EBUILD java-getopt-1.0.14-r2.ebuild 871 BLAKE2B 190c62eda62858e57382106e3e9d87950144573d988541560f1a203337177544cffb1f5372b05497f66dd29496058dc713951a64a0d78765b177a329801c0ce9 SHA512 c8411827aecf4d26e47219f3a93e1822c90df699d82f6ba1d194b405d977228cfb70e0324fb56c867d7414b4044bfa7bd23b84ca43e30563f1c040886eaf8508 +MISC metadata.xml 319 BLAKE2B 8d40237d50e465875bdb05c3ebef67c94cc4f0b027b144be26d5ede9615d6b901f280c37a2cd23d409b6fc961793e1d83424ffb6469e2318ff427fd6f7f5dad4 SHA512 736af5ae0778189310f240fabe9ee24651fb1b552eb73f672ca559a7853d0b86ae1c6877f2176076e22d93ca807a80a44eb990156855afae3a2ff7d0d93cd48d diff --git a/dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild b/dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild new file mode 100644 index 000000000000..fa256a4e77ce --- /dev/null +++ b/dev-java/java-getopt/java-getopt-1.0.14-r2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="gnu.getopt:java-getopt:ยง{PV}" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Java command line option parser" +HOMEPAGE="https://www.urbanophile.com/arenn/hacking/download.html" +SRC_URI="https://www.urbanophile.com/arenn/hacking/getopt/${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +DOCS=( gnu/getopt/{COPYING.LIB,ChangeLog,LANGUAGES,README} ) + +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="gnu/getopt" + +src_prepare() { + java-pkg-2_src_prepare + mkdir resources || die + find gnu/getopt -type f -name '*.properties' \ + | xargs cp --parent -t resources || die +} diff --git a/dev-java/java-getopt/metadata.xml b/dev-java/java-getopt/metadata.xml index 6021501589e0..f44f7c814750 100644 --- a/dev-java/java-getopt/metadata.xml +++ b/dev-java/java-getopt/metadata.xml @@ -1,8 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<maintainer type="project"> - <email>java@gentoo.org</email> - <name>Java</name> -</maintainer> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> + <upstream> + <remote-id type="github">arenn/java-getopt</remote-id> + </upstream> </pkgmetadata> |