1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2025-12-19 04:20:26 +01:00
Files
gryf-overlay/dev-util/apktool/apktool-2.9.0.ebuild
2023-10-29 12:01:27 +01:00

32 lines
687 B
Bash

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="8"
DESCRIPTION="A tool for reengineering 3rd party, closed, binary Android apps"
HOMEPAGE="https://ibotpeaches.github.io/Apktool"
SRC_URI="https://github.com/iBotPeaches/Apktool/releases/download/v${PV}/apktool_${PV}.jar"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="|| ( virtual/jre:1.7 virtual/jdk:1.7 )
dev-util/android-sdk-update-manager"
S="${WORKDIR}"
src_unpack() {
cp "${DISTDIR}/${A}" "${WORKDIR}/${PN}.jar"
}
src_install() {
exeinto /usr/bin
doexe ${FILESDIR}/apktool
insinto /opt/${PN}/
doins apktool.jar
}