apktool-2.5.0.ebuild

This commit is contained in:
blshkv 2020-12-06 08:46:51 +08:00
parent a2f1a6612f
commit 3b93c4e4a2
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 32 additions and 0 deletions

View file

@ -1 +1,2 @@
DIST apktool-2.4.1.jar 17661172 BLAKE2B 32ed449b09a1e6ea57fd861687e45d75eb4933d28a1f9ee528b57794a33df3b6c1c107ae19f3e2434287637017dccd284d9ec2e7ff6ccd1aef6b65c5a21cd167 SHA512 042f2cf08393ce556890d87401489bb89684ca8bea1b8708f7fcde075b45bd0a3c038874deaa75627428aef886619ce86eb330a412e5193adb5bd2050784c182
DIST apktool-2.5.0.jar 19300357 BLAKE2B 7cdaaed33e7ec1402f209e486931b87efaa9f323c465aef5052e2aca9d6cd9eddb47caacad825b07ac096dfdf80b28c18e5b180fa840f38e60794445cdb5825b SHA512 40010672cca6df6d13763d371ede6c2b5d1a018242235fe727ca2aa561c6a92b99f08f97e4195ad76b13124521e24a49e450a653d78ad0bac693fb56e7d27b50

View file

@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="A tool for reengineering 3rd party, closed, binary Android apps"
HOMEPAGE="https://ibotpeaches.github.io/Apktool/"
SRC_URI="https://bitbucket.org/iBotPeaches/apktool/downloads/${PN}_${PV}.jar -> ${P}.jar"
#SRC_URI="https://github.com/iBotPeaches/Apktool/releases/download/v${PV}/apktool_${PV}.jar"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="tools"
DEPEND=""
RDEPEND="|| ( virtual/jre virtual/jdk )
tools? ( dev-util/android-sdk-build-tools )"
S="${WORKDIR}"
src_unpack() {
dodir "${S}"
cp -L "${DISTDIR}/${A}" "${S}/${PN}.jar" || die
}
src_install() {
dobin "${FILESDIR}/apktool"
insinto "/opt/${PN}/"
doins apktool.jar
}