jd-cli-bin: ebuild cleanup

This commit is contained in:
Anton Bolshakov 2023-02-22 23:29:17 +08:00
parent 7dfde93407
commit cea7468b19
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
4 changed files with 5 additions and 59 deletions

View file

@ -1,3 +1 @@
DIST jd-cli-1.1.0.Final-dist.tar.gz 1439527 BLAKE2B e7cdcc8bfc31c1e91826c4087b76a859a48bc015c525971b3c4cf1cdb31a40fcd0d1c2e2b7ba121372d76954c8293e8c49d595a58eff4332f92dbafb9269c35c SHA512 bb2008d306fd541395af397b820027834d3e4b4650f00f3c1dcc072fa5068d0db48d2fbc8c81d210682667adc0f9c193911e772ee1401fb3b165901f6b61b9e9
DIST jd-cli-1.2.0-dist.tar.gz 1448122 BLAKE2B d4e588931701a7d48c0df338a15d4027e49ce5c17c38d3af020804d57f95cdeb6f1cf2662dbf8b72b80460fcaefcd179b52b742f6d7e6bb7eb9f2b6947ceec3c SHA512 46e618fdb8bde363cdb8caedce38b18d14306b476a1ffed333f5073f193184222775cee4c2e4fc099580818984554c3df73c8f7935dcb25074c74ef813b9c586
DIST jd-cli-1.2.1.jar 1641386 BLAKE2B 8a6080daf28c93f8f81c362b5d784e1e7af3278612ff36d61e30e7d3d636ce2b4cbfd4e45da329c78f4f39ec9be0598d9c4387337aefbd95d8ec47b886fbbb26 SHA512 92cd5f161bee7c861e1aca5f71173953fa3c46f78c41f02bc7db056fcb24714bb5dc3c04081c3642acc3a70c4b2bc749f04d0c11569c3f41f49772279e06f3bf

View file

@ -1,25 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Command line Java Decompiler"
HOMEPAGE="https://github.com/kwart/jd-cli"
SRC_URI="https://github.com/kwart/jd-cli/releases/download/jd-cmd-${PV}.Final/jd-cli-${PV}.Final-dist.tar.gz"
LICENSE="Apache-2.0"
SLOT="GPL-3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="|| ( virtual/jre virtual/jdk )"
S="${WORKDIR}"
#upsteam can't make up its mind: https://github.com/kwart/jd-cmd/issues/40
src_install() {
insinto "/opt/jd-cli/"
doins jd-cli.jar
cp jd-cli "${ED}"/opt/jd-cli/
dosym "${EPREFIX}"/opt/jd-cli/jd-cli /usr/bin/jd-cli
}

View file

@ -1,26 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Command line Java Decompiler"
HOMEPAGE="https://github.com/kwart/jd-cli"
SRC_URI="https://github.com/kwart/jd-cli/releases/download/jd-cli-${PV}/jd-cli-${PV}-dist.tar.gz"
LICENSE="Apache-2.0"
SLOT="GPL-3"
KEYWORDS="amd64 x86"
IUSE=""
DEPEND=""
RDEPEND="|| ( virtual/jre virtual/jdk )"
S="${WORKDIR}"
#upsteam can't make up its mind: https://github.com/kwart/jd-cmd/issues/40
src_install() {
insinto "/opt/jd-cli/"
doins jd-cli.jar
cp jd-cli "${ED}"/opt/jd-cli/
dosym "${EPREFIX}"/opt/jd-cli/jd-cli /usr/bin/jd-cli
}

View file

@ -1,15 +1,14 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Command line Java Decompiler"
HOMEPAGE="https://github.com/kwart/jd-cli"
SRC_URI="https://repo1.maven.org/maven2/com/github/kwart/jd/jd-cli/1.2.1/jd-cli-1.2.1.jar"
#https://github.com/kwart/jd-cli/releases/download/jd-cli-${PV}/jd-cli-${PV}-dist.tar.gz"
SRC_URI="https://repo1.maven.org/maven2/com/github/kwart/jd/jd-cli/${PV}/jd-cli-${PV}.jar"
LICENSE="Apache-2.0"
SLOT="GPL-3"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
@ -26,6 +25,6 @@ src_unpack() {
src_install() {
insinto "/opt/jd-cli/"
doins jd-cli.jar
cp ${FILESDIR}/jd-cli "${ED}"/opt/jd-cli/
cp "${FILESDIR}"/jd-cli "${ED}"/opt/jd-cli/
dosym "${EPREFIX}"/opt/jd-cli/jd-cli /usr/bin/jd-cli
}