mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
AndroidProjectCreator-bin: 1.2.2 initial ebuild
This commit is contained in:
parent
f154fb73a8
commit
7251943e69
2 changed files with 37 additions and 0 deletions
|
|
@ -0,0 +1,36 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="AndroidProjectCreator"
|
||||
|
||||
DESCRIPTION="Convert an APK to an Android Studio Project using multiple open-source decompilers"
|
||||
HOMEPAGE="https://github.com/ThisIsLibra/AndroidProjectCreator"
|
||||
SRC_URI="https://github.com/ThisIsLibra/${MY_PN}/releases/download/${PV}-stable/${MY_PN}-${PV}-stable-jar-with-dependencies.jar"
|
||||
|
||||
LICENSE="GNU-3.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
#to add:
|
||||
# Fernflower, CFR, Procyon and JEB3
|
||||
DEPEND="dev-util/jd-gui-bin
|
||||
dev-util/jadx-bin"
|
||||
RDEPEND="|| ( virtual/jre virtual/jdk )"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
cp "${DISTDIR}/${A}" "${S}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /opt/"${MY_PN}"
|
||||
insinto /opt/"${MY_PN}"
|
||||
newins "${MY_PN}-${PV}-stable-jar-with-dependencies.jar" "${MY_PN}.jar"
|
||||
|
||||
echo -e "#!/bin/sh\njava -jar /opt/${MY_PN}/${MY_PN}.jar \"$@\" &\n" > "${MY_PN}"
|
||||
dobin ${MY_PN}
|
||||
}
|
||||
1
dev-util/AndroidProjectCreator-bin/Manifest
Normal file
1
dev-util/AndroidProjectCreator-bin/Manifest
Normal file
|
|
@ -0,0 +1 @@
|
|||
DIST AndroidProjectCreator-1.2.2-stable-jar-with-dependencies.jar 3215285 BLAKE2B a5ad78ad690f96a3409b2fd9939eaa222947530245e205abfff1125540b6e9353013f1269fa30cafd97a1ac0d78653b416b2b9fec71e6d096dbbd60273fdc198 SHA512 20f803cf32b4b21e18ecfa28f76cf40fe190135ab317c70f953542a1416cd3b357cb99b6a27b68f021e49792ef29c8f6226babe03abcc10bfb4ebb46d5d41481
|
||||
Loading…
Reference in a new issue