mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-08 20:43:38 +02:00
jd-cmd-bin: new ebuild, fix https://github.com/pentoo/pentoo-overlay/issues/680
This commit is contained in:
parent
34de0f61d6
commit
2ee9f7f139
3 changed files with 36 additions and 0 deletions
1
dev-util/jd-cmd-bin/Manifest
Normal file
1
dev-util/jd-cmd-bin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST jd-cli-1.1.0.Final-dist.tar.gz 1439527 BLAKE2B e7cdcc8bfc31c1e91826c4087b76a859a48bc015c525971b3c4cf1cdb31a40fcd0d1c2e2b7ba121372d76954c8293e8c49d595a58eff4332f92dbafb9269c35c SHA512 bb2008d306fd541395af397b820027834d3e4b4650f00f3c1dcc072fa5068d0db48d2fbc8c81d210682667adc0f9c193911e772ee1401fb3b165901f6b61b9e9
|
||||
27
dev-util/jd-cmd-bin/jd-cmd-bin-1.1.0.ebuild
Normal file
27
dev-util/jd-cmd-bin/jd-cmd-bin-1.1.0.ebuild
Normal 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
|
||||
}
|
||||
8
dev-util/jd-cmd-bin/metadata.xml
Normal file
8
dev-util/jd-cmd-bin/metadata.xml
Normal 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>
|
||||
Loading…
Reference in a new issue