Signed-off-by: Michał Górny <mgorny@gentoo.org>
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="4"
+EAPI=5
WEBAPP_MANUAL_SLOT="yes"
-inherit webapp eutils multilib user toolchain-funcs git-2
+inherit webapp eutils multilib user toolchain-funcs git-r3
[[ -z "${CGIT_CACHEDIR}" ]] && CGIT_CACHEDIR="/var/cache/${PN}/"
}
src_prepare() {
- git submodule init || die
- git submodule update || die
-
echo "prefix = ${EPREFIX}/usr" >> cgit.conf
echo "libdir = ${EPREFIX}/usr/$(get_libdir)" >> cgit.conf
echo "CGIT_SCRIPT_PATH = ${MY_CGIBINDIR}" >> cgit.conf