This commit is contained in:
blshkv 2020-10-04 09:30:00 +08:00
parent 34de0f61d6
commit 2ee9f7f139
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
3 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST jd-cli-1.1.0.Final-dist.tar.gz 1439527 BLAKE2B e7cdcc8bfc31c1e91826c4087b76a859a48bc015c525971b3c4cf1cdb31a40fcd0d1c2e2b7ba121372d76954c8293e8c49d595a58eff4332f92dbafb9269c35c SHA512 bb2008d306fd541395af397b820027834d3e4b4650f00f3c1dcc072fa5068d0db48d2fbc8c81d210682667adc0f9c193911e772ee1401fb3b165901f6b61b9e9

View file

@ -0,0 +1,27 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_P="${P/-bin/}.Final"
DESCRIPTION="Command line Java Decompiler"
HOMEPAGE="https://github.com/kwart/jd-cmd"
SRC_URI="https://github.com/kwart/jd-cmd/releases/download/${MY_P}/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

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>blshkv@pentoo.ch</email>
<name>Anton Bolshakov</name>
</maintainer>
</pkgmetadata>