mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-19 14:54:41 +01:00
31 lines
708 B
Bash
31 lines
708 B
Bash
# Copyright 1999-2016 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Id$
|
|
|
|
EAPI="5"
|
|
|
|
DESCRIPTION="A tool for reengineering 3rd party, closed, binary Android apps."
|
|
HOMEPAGE="http://ibotpeaches.github.io/Apktool/"
|
|
SRC_URI="https://bitbucket.org/iBotPeaches/apktool/downloads/${PN}_${PV}.jar -> ${P}.jar"
|
|
RESTRICT="mirror"
|
|
LICENSE="Apache-2.0"
|
|
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
|
|
}
|