summaryrefslogtreecommitdiff
blob: 73706122eb1ebfdf488a27b3be735ca800db9cb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

MY_PN="${PN#PEAR-}"
DESCRIPTION="PHP and JavaScript AJAX library"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
HOMEPAGE="https://pear.php.net/package/${MY_PN}/"
SRC_URI="http://download.pear.php.net/package/${MY_PN}-${PV}.tgz"
S="${WORKDIR}/${MY_PN}-${PV}"

src_install() {
	insinto /usr/share/php
	doins -r HTML
	insinto "/usr/share/php/data/${MY_PN}"
	doins -r js
}