diff options
Diffstat (limited to 'dev-util/argouml')
-rw-r--r-- | dev-util/argouml/Manifest | 3 | ||||
-rw-r--r-- | dev-util/argouml/argouml-0.34-r1.ebuild | 62 | ||||
-rw-r--r-- | dev-util/argouml/metadata.xml | 11 |
3 files changed, 71 insertions, 5 deletions
diff --git a/dev-util/argouml/Manifest b/dev-util/argouml/Manifest index f4ca89814bf6..d602343b19dc 100644 --- a/dev-util/argouml/Manifest +++ b/dev-util/argouml/Manifest @@ -2,5 +2,6 @@ DIST ArgoUML-0.34.tar.gz 16504818 BLAKE2B 9a68d1e48ae16469a91f8ebc44fb0dc5387cfe DIST dbuml-module-1.0.4.zip 6231786 BLAKE2B e00e1a87ceed8128b6303b1d38e64c1497fdd8287c4716b15e7dc1f225ca4da67bffa17529b9ed44ff484c3ee057e5dc9096674b152b71df81eb8ffbfec3f5d8 SHA512 a281a8bb8b8422cfceaf704e6b26a0c8b7c8ee393756ebee86ede8a8681b0ba9f8f5b5e568899e6e7b55fba20edba74f9e7a532f647dbf1549f582b3226028b6 DIST manual-0.34.pdf 3405949 BLAKE2B f52ac83c62a243ca0034237a75d8ce2cdffb7a6668c3562012d4577c742823c092f1d42bba0d1a56ce52885511b3eb6e9a0055cdf0d00baddc2a412964cb8d98 SHA512 1dfaf66485beb82d309a58f3868f7c150575d99d652dbef261991429df85073ffce0cf8d73f44f4f9c13299be3cd11f92826da695901846c7b8dc6561b0090d8 DIST quickguide-0.34.pdf 58334 BLAKE2B cfd2dd38ac1117ef7253d0193bdf264a0160bf55776b5d1f42efafb9c73924287e12ac2c53bae6e7fd9a6ee29a172e0205909785bbe695ce8b01bc2479c41660 SHA512 0bcdeaa643d400e17b12d92c78eddb33a202220ccb26e5a9933528faa0e8d3fccde432a1fba2103b28bec59d3df75e1176ed2918308533f7e490fbdb5d60a82d +EBUILD argouml-0.34-r1.ebuild 1400 BLAKE2B 2a946a516f8303b97fc4815c47bb76b80a694449dd97a1fb6f4a5ee96c4a6a44f12d504f198ea31f69aaac04b5fa2ab2e8358757cb842c860929f7b770ff6215 SHA512 3bcbd89d2d1fe86eaf80bbe7618b4ec030b9add7842b2f4d837c75f6dd2bf1c7f6077f1dba856aae934fa46ed0c65b5b026733fa73b299df84e1d2d678c16e40 EBUILD argouml-0.34.ebuild 1383 BLAKE2B 2818da067ca8d6fd4e443c1c458302dd519c75d2531df00214e758d05ce99ab2b58e3aca9833ea7f6f9022b967ce5c5f237691affe85357f6c5735612db1a586 SHA512 957dd4604ee9fb7c56734602e3ffb4f2c3a763c7ae353ba3a0457000fbeafdccdf8e64c9894de3cffa810626df7bd43de542a8906b38d3419f35e6e845cdfc87 -MISC metadata.xml 233 BLAKE2B 2b385ca77219f08b2874b3a4a91a0c836d3cb45ec44b05babb33d590c56ceb5337ecb93a8450a37f8e6bbf4cfc1455892e8142d22e0a1d527d40361e2dce350b SHA512 1acc975a7dc3344bc63282d652ca00d8245970b58353b4fd00f09a4859db3eaba2dcd85e1537d424b7174e4f9c01c2ffb10ec6d107b5c895c9ca20730666de7f +MISC metadata.xml 328 BLAKE2B dc77ff9f2776dcd6b91bd7ff048c8643af35bac58d9db695f9c42165832e807bfd8344d382a6d5dd1361796bc414739bb49bfd195fe51353874ef019a7faa06f SHA512 7be56b71d2bfd90bd54ed5dc839655d8e75226aba1e3399949e32c8de61cca23b275f8b3eaa38dcd3a07240c81a826bfe546c2213d2d8be3f0c067205835439a diff --git a/dev-util/argouml/argouml-0.34-r1.ebuild b/dev-util/argouml/argouml-0.34-r1.ebuild new file mode 100644 index 000000000000..1ed077a3de26 --- /dev/null +++ b/dev-util/argouml/argouml-0.34-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit desktop xdg-utils java-pkg-2 + +DESCRIPTION="Modelling tool that helps you do your design using UML" +HOMEPAGE="https://argouml-tigris-org.github.io/" +BASE_URI="http://argouml-downloads.tigris.org/nonav/${P}" +SRC_URI="${BASE_URI}/ArgoUML-${PV}.tar.gz + http://argouml-downloads.tigris.org/nonav/argouml-db-1.0/dbuml-module-1.0.4.zip + doc? ( + ${BASE_URI}/manual-${PV}.pdf + ${BASE_URI}/quickguide-${PV}.pdf + )" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="doc" + +RDEPEND=">=virtual/jre-1.8:*" +BDEPEND="app-arch/unzip" + +S="${WORKDIR}" + +src_compile() { :; } + +src_install() { + java-pkg_jarinto /opt/${PN}/lib + java-pkg_dojar ${P}/*.jar + + java-pkg_jarinto /opt/${PN}/lib/ext + java-pkg_dojar ${P}/ext/*.jar release/ext/*.jar + + java-pkg_dolauncher ${PN} --main org.argouml.application.Main + + dodoc ${P}/README.txt + + if use doc; then + find release/ \( -name Thumbs.db -o -name filelist.xml \) \ + -delete || die + HTML_DOCS=( release/{Readme.htm,www} ) + DOCS=( + "${DISTDIR}"/manual-${PV}.pdf + "${DISTDIR}"/quickguide-${PV}.pdf + ) + einstalldocs + fi + + newicon ${P}/icon/ArgoIcon128x128.png ${PN}.png || die + make_desktop_entry ${PN} "ArgoUML" +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +} diff --git a/dev-util/argouml/metadata.xml b/dev-util/argouml/metadata.xml index 6021501589e0..79e2171e6d44 100644 --- a/dev-util/argouml/metadata.xml +++ b/dev-util/argouml/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">argouml-tigris-org/argouml</remote-id> + </upstream> </pkgmetadata> |