summaryrefslogtreecommitdiff
path: root/dev-java/unbescape
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-05 12:08:58 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-05 12:08:58 +0000
commitf29a41111b3a606f5d95049b1ba92daabbc68cc0 (patch)
tree310589df1ffb427b1a0595a329cfb2845335b778 /dev-java/unbescape
parent083bdfbef9bc532b72cf116591025916eebaf676 (diff)
gentoo auto-resync : 05:01:2023 - 12:08:57
Diffstat (limited to 'dev-java/unbescape')
-rw-r--r--dev-java/unbescape/Manifest3
-rw-r--r--dev-java/unbescape/metadata.xml10
-rw-r--r--dev-java/unbescape/unbescape-1.1.6.ebuild36
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-java/unbescape/Manifest b/dev-java/unbescape/Manifest
new file mode 100644
index 000000000000..a3079feab0f5
--- /dev/null
+++ b/dev-java/unbescape/Manifest
@@ -0,0 +1,3 @@
+DIST unbescape-1.1.6.RELEASE.tar.gz 423423 BLAKE2B ff4f0b3bd582e4f6f13ec950eafaf336c4303d7d8c94ffa76438a9041555d17210ddcf1a36ae534511d1769723ffd6749632c702ba57d57c32abf965502e372c SHA512 0feab8deadba3e785c62400494938a532879c99bb55c91112fcb14521b7298bff482ed1f06a301835d0ed86dccaa4519c16af67884f5c02dc5be46255769b113
+EBUILD unbescape-1.1.6.ebuild 1069 BLAKE2B 821d0f44bbbdf8d3ccd841e7d9adc7c1654a8ac86bca5801741960cf60cd63961a176ee80abe0b0e81d04244df977a9f65e4d6fa4e80be81d6df46a7f0c9e173 SHA512 cf049e3cc7f18d9eb2feefc1ccf3772bcf021205ba6705a0ce2df348188891d076786ee2d39feea50c89c148784f640bbb91dd92b927d3be22a885bc94fae088
+MISC metadata.xml 301 BLAKE2B 9d1554dd926261d838a827fe905949fd47ce11dfad5d04790ada1b9d3fc7e6d600e06e3f14d2bf9f0b9a3ffa9d6e596eda8b2ce064761fa3e5da5d995e79cf4a SHA512 96ea19a9636e303135efd694bade56686caf35e880bf65c857d116acd4321aacf48e80c6d356aa467414bbf6e074f23ebd5bc76a8c29b01a3bc7a021a9b3a75a
diff --git a/dev-java/unbescape/metadata.xml b/dev-java/unbescape/metadata.xml
new file mode 100644
index 000000000000..519fa387d24f
--- /dev/null
+++ b/dev-java/unbescape/metadata.xml
@@ -0,0 +1,10 @@
+<?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>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">unbescape/unbescape</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-java/unbescape/unbescape-1.1.6.ebuild b/dev-java/unbescape/unbescape-1.1.6.ebuild
new file mode 100644
index 000000000000..e41f5eadf06a
--- /dev/null
+++ b/dev-java/unbescape/unbescape-1.1.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+# Skeleton command:
+# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/unbescape/unbescape/archive/unbescape-1.1.6.RELEASE.tar.gz --slot 0 --keywords "~amd64" --ebuild unbescape-1.1.6.ebuild
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source"
+MAVEN_ID="org.unbescape:unbescape:1.1.6.RELEASE"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="Advanced yet easy-to-use escape/unescape library for Java"
+HOMEPAGE="https://www.unbescape.org"
+SRC_URI="https://github.com/unbescape/unbescape/archive/unbescape-${PV}.RELEASE.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=">=virtual/jre-1.8:*"
+DEPEND=">=virtual/jdk-1.8:*"
+
+S="${WORKDIR}/unbescape-unbescape-${PV}.RELEASE"
+
+JAVA_AUTOMATIC_MODULE_NAME="unbescape"
+JAVA_RESOURCE_DIRS="src/main/resources"
+JAVA_SRC_DIR="src/main/java"
+
+src_prepare() {
+ default
+ sed \
+ -e "s/\${pom.version}/${PV}.RELEASE/" \
+ -i src/main/resources/org/unbescape/unbescape.properties || die
+}