summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-02-18 20:11:19 +0100
committerDavid Seifert <soap@gentoo.org>2020-02-18 20:11:19 +0100
commite7f63502b2283be5cae8c470e21ba192aa1fbf64 (patch)
tree96ff79662070a4beb70c7077ab7abce8971b5781 /dev-util/appinventor
parentdev-util/bin_replace_string: Port to EAPI 7 (diff)
downloadgentoo-e7f63502b2283be5cae8c470e21ba192aa1fbf64.tar.gz
gentoo-e7f63502b2283be5cae8c470e21ba192aa1fbf64.tar.bz2
gentoo-e7f63502b2283be5cae8c470e21ba192aa1fbf64.zip
dev-util/appinventor: Port to EAPI 7
Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-util/appinventor')
-rw-r--r--dev-util/appinventor/appinventor-1.1.ebuild22
1 files changed, 12 insertions, 10 deletions
diff --git a/dev-util/appinventor/appinventor-1.1.ebuild b/dev-util/appinventor/appinventor-1.1.ebuild
index 6e3baf91d344..4051167c6a8e 100644
--- a/dev-util/appinventor/appinventor-1.1.ebuild
+++ b/dev-util/appinventor/appinventor-1.1.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=7
MY_P="${PN}-setup_${PV}"
+
DESCRIPTION="MIT App Inventor Setup package"
HOMEPAGE="http://www.appinventor.mit.edu/"
SRC_URI="https://dl.google.com/dl/${PN}/installers/linux/${MY_P}.tar.gz"
@@ -11,22 +12,23 @@ SRC_URI="https://dl.google.com/dl/${PN}/installers/linux/${MY_P}.tar.gz"
LICENSE="android"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND=""
-RDEPEND=">=virtual/jre-1.6.0"
+RDEPEND="
+ sys-libs/ncurses-compat:5
+ >=virtual/jre-1.6.0"
-APP_INSTALL_DIR="/opt/${PN}"
S="${WORKDIR}/${MY_P}"
-QA_PREBUILT="/opt/appinventor/commands-for-Appinventor/adb
+
+QA_PREBUILT="
+ /opt/appinventor/commands-for-Appinventor/adb
/opt/appinventor/commands-for-Appinventor/emulator
/opt/appinventor/commands-for-Appinventor/mksdcard"
src_install() {
- insinto ${APP_INSTALL_DIR}
- dodir ${APP_INSTALL_DIR}
+ insinto /opt/${PN}
doins -r "${PN}"/extras
doins -r "${PN}"/from-Android-SDK
- exeinto "${APP_INSTALL_DIR}"/commands-for-Appinventor/
+
+ exeinto /opt/${PN}/commands-for-Appinventor/
doexe "${PN}"/commands-for-Appinventor/*
}