dev-util/dex2jar-bin - 2.0 (anomen)

Search

Package Information

Description:
Tools to work with android .dex and java .class files
Homepage:
https://github.com/pxb1988/dex2jar
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
2.0 6 ~x86 ~amd64 0
View Raw Ebuild
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_PN="${PN%%-bin}"
DESCRIPTION="Tools to work with android .dex and java .class files"
HOMEPAGE="https://github.com/pxb1988/dex2jar"
SRC_URI="https://github.com/pxb1988/${MY_PN}/releases/download/${PV}/dex-tools-${PV}.zip"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""

RDEPEND="|| ( virtual/jre virtual/jdk )"
DEPEND="!!${CATEGORY}/${MY_PN}"

S="${WORKDIR}/${MY_PN}-${PV}"

src_install() {
	local dir="/opt/${PN}"

	exeinto "${dir}"
	doexe *.sh
	exeinto "${dir}/lib"
	doexe lib/*.jar

	dosym "${dir}/d2j-${MY_PN}.sh" "/usr/bin/${MY_PN}"
}

Dependencies

DEPEND

!!${CATEGORY}/${PN%%-bin}

RDEPEND

|| ( virtual/jre virtual/jdk )

Manifest for 2.0

Type File Size Source URLs
DIST dex-tools-2.0.zip 2362460 bytes https://github.com/pxb1988/${PN%%-bin}/releases/download/2.0/dex-tools-2.0.zip