mirror of
https://github.com/gryf/gryf-overlay.git
synced 2025-12-19 20:38:05 +01:00
32 lines
691 B
Bash
32 lines
691 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI="5"
|
|
|
|
DESCRIPTION="A tool for reengineering 3rd party, closed, binary Android apps"
|
|
HOMEPAGE="http://code.google.com/p/android-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
|
|
}
|