dev-util/dex2jar - 2.3 (pentoo)

Search

Install

Install this version:

emerge -a =dev-util/dex2jar-2.3

Package Information

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

Ebuild Details

Version EAPI Keywords Slot
2.3 8 amd64 ~arm64 x86 0
View Raw Ebuild
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Tools to work with android .dex and java .class files"
HOMEPAGE="https://github.com/pxb1988/dex2jar/releases"
SRC_URI="https://github.com/pxb1988/dex2jar/releases/download/v${PV}/dex2jar-v2.zip -> ${P}.zip"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"

RDEPEND="|| ( virtual/jre virtual/jdk )"
BDEPEND="app-arch/unzip"

S="${WORKDIR}/${PN}-v${PV}"

src_prepare() {
	rm *.bat
	chmod a+x *.sh
	rm *.txt
	cd lib
	rm *.txt

	eapply_user
}

src_install() {
	dodir /opt/"${PN}"
	cp -R "${S}"/* "${ED}/opt/${PN}" || die "Install failed!"
	for i in *.sh; do
		dosym -r "/opt/${PN}/${i}" "/usr/bin/${i##*/}"
	done
}

Dependencies

RDEPEND

|| ( virtual/jre virtual/jdk )

BDEPEND

app-arch/unzip

Manifest for 2.3

Type File Size Source URLs
DIST dex2jar-2.3.zip 5662415 bytes https://github.com/pxb1988/dex2jar/releases/download/v2.3/dex2jar-v2.zip