apktool-3.0.2.ebuild

This commit is contained in:
Anton Bolshakov 2026-04-20 07:39:06 +08:00
parent 54edcc7620
commit 48e1abb49e
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
2 changed files with 30 additions and 1 deletions

View file

@ -1,2 +1,2 @@
DIST apktool-2.12.1.jar 25926183 BLAKE2B 01d51a52939b18496cdf03d91953508e86fcddcd0e99097f5bf1fc9790c71dbb4b10e7d44fe038532dff4df263a6d742c93f18b5620a129ddcc4696cd3119bcf SHA512 03ffc27b84e44766f5c057eb35c8b54d1f901f735732d676f54047ca94af7f48e2a8c828c2c7ba97f0afb15c8a257ede87ac8b6d587d8e5a7bd62283b915259c
DIST apktool-3.0.1.jar 15479058 BLAKE2B fa702a33af4955b54afb958e65861b589a82aa3c3170f6cf021cff82a0f76e97e59b8be88e96efec7b176b7a16a4b3b626cae3530c7807bbb58be81f459853a8 SHA512 4401c2d936f4a3c0a8e9bc2571f7132305b9c3c429da4ced28b3da2e6b5baeddbf7a9b98afca36c2382e185bf62c70970be841a5a52322841c0b9a8f7556c266
DIST apktool-3.0.2.jar 15476804 BLAKE2B 3fdb0040e8ed511a223385064818e80a422ed25f73c0c9da16c39eb4608de2d1211418ed02b2dc2815b3969bbc3c941c9f6a72074feb5f01695fddfb00699e3b SHA512 afa7f49f640ef80a42fe988f8a4ba529ddaaa73a27bdaa672b9103cdcb39ea142729ea7540dd6cb0357be804aec15ac55463abec0b34e07b717cd0d801d093f3

View file

@ -0,0 +1,29 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
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"
S="${WORKDIR}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="tools"
RDEPEND="|| ( virtual/jre virtual/jdk )
tools? ( dev-util/android-sdk-build-tools )"
src_unpack() {
dodir "${S}"
cp -L "${DISTDIR}/${A}" "${S}/${PN}.jar" || die
}
src_install() {
dobin "${FILESDIR}/apktool"
insinto "/opt/${PN}/"
doins apktool.jar
}