1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 MY_PN="${PN/doctrine-//}"
8 DESCRIPTION="Utility to instantiate objects in PHP without invoking their constructors"
9 HOMEPAGE="https://github.com/doctrine/instantiator"
10 SRC_URI="https://github.com/doctrine/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
17 S="${WORKDIR}/${MY_PN}-${PV}"
19 RDEPEND="dev-php/fedora-autoloader
23 insinto /usr/share/php/
25 insinto /usr/share/php/Doctrine/Instantiator
26 doins "${FILESDIR}/autoload.php"