diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-02 05:01:09 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-02 05:01:09 +0000 |
commit | 81f73a84efe20818880d8c52c55a3bd067115b06 (patch) | |
tree | ca631191839ca72738880eb47b7e46689f38b59b /dev-java/maven-bin | |
parent | b0632f33a9a34123e027e91c44916235a5cd9494 (diff) |
gentoo auto-resync : 02:12:2023 - 05:01:08
Diffstat (limited to 'dev-java/maven-bin')
-rw-r--r-- | dev-java/maven-bin/Manifest | 2 | ||||
-rw-r--r-- | dev-java/maven-bin/maven-bin-3.9.6.ebuild | 64 |
2 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/maven-bin/Manifest b/dev-java/maven-bin/Manifest index 00451ce6f355..d9d17ebece0d 100644 --- a/dev-java/maven-bin/Manifest +++ b/dev-java/maven-bin/Manifest @@ -1,5 +1,7 @@ DIST apache-maven-3.8.8-bin.tar.gz 8296049 BLAKE2B af6353193365ed33e8f2f0a7e4d31933132751f142ebbdb68aab7a74ad2dda6593bf34cef9d8d56d6c93ff93293b75517a10a5c1c048733b8c911f4ac150bdf6 SHA512 332088670d14fa9ff346e6858ca0acca304666596fec86eea89253bd496d3c90deae2be5091be199f48e09d46cec817c6419d5161fb4ee37871503f472765d00 DIST apache-maven-3.9.5-bin.tar.gz 9359994 BLAKE2B d73d5bc7f5028068492ed7710897b370e4a97592bef0ff055ce2d7dea222bb348f5886b7b5e86ce2787296e90e1a35eab057208c1edbadd5c82447116a14f3f4 SHA512 4810523ba025104106567d8a15a8aa19db35068c8c8be19e30b219a1d7e83bcab96124bf86dc424b1cd3c5edba25d69ec0b31751c136f88975d15406cab3842b +DIST apache-maven-3.9.6-bin.tar.gz 9410508 BLAKE2B 2a99f002912e6c0fcf9f78f0553553898cf39c17bd7c8b58269c8a7d061c425c62a2f557a686fd2b1f114ef1f47aab6e9b318555235bb436e8c7e5c8b1a0dd9d SHA512 706f01b20dec0305a822ab614d51f32b07ee11d0218175e55450242e49d2156386483b506b3a4e8a03ac8611bae96395fd5eec15f50d3013d5deed6d1ee18224 EBUILD maven-bin-3.8.8-r1.ebuild 1384 BLAKE2B f07df89e9b3f821f21112a5110c7bce978db18c303e139e939d856d34d1a01cee5fe543943226e64af19d15d45cba4fc605fd228b169f6902d161e04d8cc8fe1 SHA512 02e5fd63a1add7cce804259a3bc6409abdf55eedf458e8c6f909e224a7ae02152b6c82f8afb0775c30f833a101b29d680e0fbb69133df737e6875256d2731fd2 EBUILD maven-bin-3.9.5-r1.ebuild 1384 BLAKE2B 1070a8fb1c4150031f4889886aefd5dce8418d12f296743f762e552ff5d5d021ed6418adec6bd94dc207340c82ca05ad6a9e19a8006761cb1092a62f3a7daf1b SHA512 c06dc8c9f7a3495b704b37af106520c4eb7c03e4bfd9d53dfeb2361356116525a1070da93fc5343e61c3495f8a501eaabb433e6ec2a0fe094a73a76743ccd0a9 +EBUILD maven-bin-3.9.6.ebuild 1386 BLAKE2B b24ec40a232f013c1626aab65d0aebaa3d683beee066bda37d019874815f6487d78f59a6fb0741459d8ac44a7489173cf9041b741b2ea8dc88309bdde2521a0b SHA512 22ad36fe399995321f81c1ee6ad928693f2368f6a8c2ad459a009abdacb26f06c8774e507f862ee76f760f703c59ba48250ae2136cc1618cd18ae308b4812f1f MISC metadata.xml 611 BLAKE2B 5ef6682d362deee6aff000f37dccd97c48e90e3071133a44d9f0ec2a5c6876fdd1a5f44b064eb6992a06cfda27c0c0e599e0bd0474997611aedce017febda203 SHA512 5ba3e55ea839b5e616f37321960021c58846089cb0b51982617f45946ba25747ac10eef70409f9848fbb8267fb2cc0c90c319fb66aeb52ffa5e0e1cd6d5840ff diff --git a/dev-java/maven-bin/maven-bin-3.9.6.ebuild b/dev-java/maven-bin/maven-bin-3.9.6.ebuild new file mode 100644 index 000000000000..8290d36836f5 --- /dev/null +++ b/dev-java/maven-bin/maven-bin-3.9.6.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit java-pkg-2 + +MY_PN=apache-${PN%%-bin} +MY_PV=${PV/_alpha/-alpha-} +MY_P="${MY_PN}-${MY_PV}" +MY_MV="${PV%%.*}" + +DESCRIPTION="Project Management and Comprehension Tool for Java" +SRC_URI="mirror://apache/maven/maven-${MY_MV}/${PV}/binaries/${MY_P}-bin.tar.gz" +HOMEPAGE="https://maven.apache.org/" + +LICENSE="Apache-2.0" +SLOT="3.9" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + >=virtual/jdk-1.8:* + app-eselect/eselect-java" + +RDEPEND=" + >=virtual/jre-1.8:*" + +S="${WORKDIR}/${MY_P}" + +MAVEN="${PN}-${SLOT}" +MAVEN_SHARE="/usr/share/${MAVEN}" + +QA_FLAGS_IGNORED=( + "${MAVEN_SHARE}/lib/jansi-native/linux32/libjansi.so" + "${MAVEN_SHARE}/lib/jansi-native/linux64/libjansi.so" +) + +# TODO: +# We should use jars from packages, instead of what is bundled. +src_install() { + dodir "${MAVEN_SHARE}" + + cp -Rp bin boot conf lib "${ED}/${MAVEN_SHARE}" || die "failed to copy" + + java-pkg_regjar "${ED}/${MAVEN_SHARE}"/boot/*.jar + java-pkg_regjar "${ED}/${MAVEN_SHARE}"/lib/*.jar + + dodoc NOTICE README.txt + + dodir /usr/bin + dosym "${MAVEN_SHARE}/bin/mvn" "${EPREFIX}/usr/bin/mvn-${SLOT}" + + # See bug #342901. + echo "CONFIG_PROTECT=\"${MAVEN_SHARE}/conf\"" > "${T}/25${MAVEN}" || die + doenvd "${T}/25${MAVEN}" +} + +pkg_postinst() { + eselect maven update mvn-${SLOT} +} + +pkg_postrm() { + eselect maven update +} |