src_prepare-overlay/www-apps/icecoder/icecoder-8.0.ebuild
Maciej Barć 6c12554330
www-apps/icecoder: new pkg; add 8.0
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
2020-12-22 01:27:40 +01:00

43 lines
702 B
Bash

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
MY_PN="ICEcoder"
WEBAPP_MANUAL_SLOT="yes"
inherit webapp
DESCRIPTION="Browser code editor awesomeness"
HOMEPAGE="https://icecoder.net/"
SRC_URI="https://github.com/${PN}/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
RESTRICT="mirror test"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
dev-lang/php:7.4
virtual/httpd-php
"
S="${WORKDIR}/${MY_PN}-${PV}"
pkg_setup() {
webapp_pkg_setup
}
src_install() {
webapp_src_preinst
insinto "${MY_HTDOCSDIR}"
doins -r .
webapp_serverowned -R "${MY_HTDOCSDIR}"
webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
webapp_src_install
}