diff options
Diffstat (limited to 'dev-db/sqlcl-bin')
-rw-r--r-- | dev-db/sqlcl-bin/Manifest | 4 | ||||
-rw-r--r-- | dev-db/sqlcl-bin/sqlcl-bin-19.1.0.094.1619.ebuild (renamed from dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.ebuild) | 29 |
2 files changed, 18 insertions, 15 deletions
diff --git a/dev-db/sqlcl-bin/Manifest b/dev-db/sqlcl-bin/Manifest index cb2c5e8dd9e8..5786eb491395 100644 --- a/dev-db/sqlcl-bin/Manifest +++ b/dev-db/sqlcl-bin/Manifest @@ -1,3 +1,3 @@ -DIST sqlcl-17.4.0.354.2224-no-jre.zip 19731560 BLAKE2B 0ee78a39e5be5d2c23a583cf3f4790897d79e1b082036d30a071fa629912e31c3fc3dbb0e873f4013ba6d41c27c8e1d99aff851922202983842cbf09cf1c6b0b SHA512 d03e949755fc3c99661d3b87dc4576fd4cb0edd33fa2b05818bbb26cd6d066d221ad6bcc0fc2f1453a80351b82e5698a193730cbabbf84a55607a118c39b4243 -EBUILD sqlcl-bin-17.4.0.354.2224.ebuild 1105 BLAKE2B 7adb14a713a652fefa36738c3c952f519823bbcb3e242539747859a4d7ae6c4203b5067e96fee5fe765c178f0fefd0862b9d225fc8242a22144ab438a45382a9 SHA512 5ed5f0749132e924dc50563857664e2ffdaa24c60b1f43070e7e4707d7360399d96738967b65f9078e78c85339657eaea799154ee30c95625537f8ec8d36d9fe +DIST sqlcl-19.1.0.094.1619.zip 21886970 BLAKE2B adf3e70521eb38b1504a384512b2c92222121084e27e98952d0f493d74fff63d6f24c00e9f1ed025cccef3305cdc47acecde604575a63221b4fedf38fa6e1885 SHA512 1d04fc7e1a9229badafeea54489db5c6ee8b3d720d84687cbdf761232388e624ac66d0ae59de99e833ae36eb3d5287d1ea556d09aad855d75b674186c55ed9a8 +EBUILD sqlcl-bin-19.1.0.094.1619.ebuild 1025 BLAKE2B be410797bb654a96fe5d6971f8e6b4e010807006cee6632574587d511108b4c52d61a98004af7cd663410d670a85a56482e48b14a39ac37599a6b700c4ba6bb4 SHA512 f17bca5d661ed6fe6b7f84ae3dc8a0c125669f373a9a1966bc96f742b9d7f6999af553aada745663f87bd7d94e48f4f80aaeb83e6cf2fa195969d59a70c22b94 MISC metadata.xml 483 BLAKE2B 1ed85dae79388f3c548163e5fafd2838e1adf9bfc9a9c793ce7f9e7e323f8e3c9e7e2f3190b3ec54a0c598d048c61b6ad67c8eefb3845cd446ea67b01e0df8a8 SHA512 e88ad9fd8c20d5be5569c64544c3f4dd72eb3243d46333c30aaa1b939eb6ce35855aa3e771008b2fff990de5b2e5bf79ca378714e3cf7dc375144b7cd8f5649c diff --git a/dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.ebuild b/dev-db/sqlcl-bin/sqlcl-bin-19.1.0.094.1619.ebuild index 94a010ed64de..140d82c85266 100644 --- a/dev-db/sqlcl-bin/sqlcl-bin-17.4.0.354.2224.ebuild +++ b/dev-db/sqlcl-bin/sqlcl-bin-19.1.0.094.1619.ebuild @@ -1,14 +1,14 @@ # Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 MY_PN="${PN/-bin}" MY_P="${MY_PN}-${PV}" DESCRIPTION="Oracle SQLcl is the new SQL*Plus" HOMEPAGE="https://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html" -SRC_URI="${MY_P}-no-jre.zip" +SRC_URI="${MY_P}.zip" RESTRICT="bindist fetch mirror" LICENSE="OTN" @@ -23,26 +23,29 @@ RDEPEND="virtual/jre:1.8 S="${WORKDIR}" pkg_nofetch() { - eerror "Please go to" - eerror " ${HOMEPAGE}" - eerror "and download" - eerror " Command Line - SQLcl" - eerror " ${SRC_URI}" - eerror "and move it to DISTDIR directory." + einfo "Please go to" + einfo + einfo " ${HOMEPAGE}" + einfo + einfo "and download" + einfo + einfo " Command Line - SQLcl" + einfo " ${SRC_URI}" + einfo + einfo "which must be placed in DISTDIR directory." } src_prepare() { default - find ./ \( -iname "*.bat" -or -iname "*.exe" \) -exec rm {} + || die "remove files failed" - mv sqlcl/bin/sql sqlcl/bin/"${MY_PN}" || die "rename executable failed" + find ./ \( -iname "*.bat" -or -iname "*.exe" \) -delete || die "remove files failed" } src_install() { exeinto "/opt/${MY_PN}/bin/" - doexe "${S}/${MY_PN}/bin/${MY_PN}" + newexe "${MY_PN}"/bin/sql sqlcl insinto "/opt/${MY_PN}/lib/" - doins -r "${S}/${MY_PN}/lib/"* + doins -r "${MY_PN}"/lib/. - dosym "${ED%/}/opt/${MY_PN}/bin/${MY_PN}" "/opt/bin/${MY_PN}" + dosym "../${MY_PN}/bin/sqlcl" /opt/bin/sqlcl } |