1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 MY_PN="${PN/webmozart-//}"
8 DESCRIPTION="Assertions to validate method input/output with nice error messages"
9 HOMEPAGE="https://github.com/webmozart/assert"
10 SRC_URI="https://github.com/webmozart/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~alpha amd64 arm hppa ia64 ppc ppc64 ~s390 ~sh sparc x86"
17 S="${WORKDIR}/${MY_PN}-${PV}"
19 RDEPEND="dev-php/fedora-autoloader
23 insinto /usr/share/php/Webmozart/Assert
25 doins "${FILESDIR}/autoload.php"