summaryrefslogtreecommitdiff
blob: 492cf785652ac183fb4761a0e31d714f471132e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DESCRIPTION="Subtree split of the Symfony Console Component"
HOMEPAGE="https://github.com/symfony/console"
SRC_URI="https://github.com/symfony/console/archive/v${PV}.tar.gz
	-> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"

RDEPEND="
	dev-lang/php:*
	dev-php/fedora-autoloader
	>=dev-php/psr-log-1.0.2
	>=dev-php/symfony-event-dispatcher-2.1.0
	>=dev-php/symfony-process-2.8.12"

S="${WORKDIR}/console-${PV}"

src_install() {
	insinto "/usr/share/php/Symfony/Component/Console"
	doins -r . "${FILESDIR}"/autoload.php
	dodoc README.md
}