apktool-3.0.0.ebuild

This commit is contained in:
Anton Bolshakov 2026-02-22 23:11:13 +08:00
parent 0dd5c40362
commit b254be243d
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.0.jar 25925346 BLAKE2B b457160d732fb051f52a9f0e8ef7dd84eb20563ba6e1cceb1f715c0d6ac54827d3fd0636698b1f211ae4bd6e7d7945762a4e839163ebf3d9861486371fe7548e SHA512 4c30d6d92ae8411331fd0c3bbe134a7feace68f1e2e070b3a402ec91cdc8086e468bdf73eb7b88961ae2f7382f44bfe53174b3c322fcb6281ad4eec834976c38
DIST apktool-2.12.1.jar 25926183 BLAKE2B 01d51a52939b18496cdf03d91953508e86fcddcd0e99097f5bf1fc9790c71dbb4b10e7d44fe038532dff4df263a6d742c93f18b5620a129ddcc4696cd3119bcf SHA512 03ffc27b84e44766f5c057eb35c8b54d1f901f735732d676f54047ca94af7f48e2a8c828c2c7ba97f0afb15c8a257ede87ac8b6d587d8e5a7bd62283b915259c
DIST apktool-3.0.0.jar 15479058 BLAKE2B 11143db8a7c8866f4399a18f78d6d276a2de2e213f2964db9b8b1505003e6793e1762d61cabf636cf262ef7faeee4e403ba844cf8b2b56084e2b70acc7c906c3 SHA512 b01055833083ff8b7cfc3e943ac461dd2ad1b99c3bf52c489fda8e64b62a0d8827b7d89eabeb55efd82d207451a5b4bdcd93ef15b92b6d217b24074966ca1e89

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
}