Diff PEAR-Net_SmartIRC-1.1.10-r1 with a PEAR-Net_SmartIRC-1.1.12

/usr/portage/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.12.ebuild 2018-05-09 16:38:00.000000000 +0300
1
# Copyright 1999-2020 Gentoo Authors
1
# Copyright 1999-2018 Gentoo Foundation
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=6
5 5

  
6
MY_PN="${PN/PEAR-/}"
7
MY_P="${MY_PN}-${PV}"
6
inherit php-pear-r2
8 7

  
9
HOMEPAGE="https://pear.php.net/package/Net_SmartIRC"
10
# The PEAR tarball is missing some docs as of v1.10.0.
11
SRC_URI="https://github.com/pear/${MY_PN}/archive/v${PV}.tar.gz
12
	-> ${MY_P}.tar.gz"
13 8
DESCRIPTION="PHP class to communicate with IRC networks"
14 9
LICENSE="LGPL-2.1"
15 10
SLOT="0"
16
KEYWORDS="~alpha amd64 ~hppa ~ia64 ppc ppc64 sparc x86"
11
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
17 12
IUSE="doc examples"
18

  
19
RDEPEND="dev-lang/php:*"
20

  
21
S="${WORKDIR}/${MY_P}"
13
DOCS=( CREDITS FEATURES docs/HOWTO README.md )
22 14

  
23 15
src_install() {
24
	dodoc CREDITS FEATURES docs/HOWTO README.md TODO
25
	use examples && dodoc -r docs/examples
16
	local HTML_DOCS=( )
17
	use examples && HTML_DOCS+=( docs/examples/ )
26 18

  
27 19
	if use doc; then
28
		dodoc docs/DOCUMENTATION
29
		dodoc -r docs/HTML
20
		DOCS+=( docs/DOCUMENTATION )
21
		HTML_DOCS+=( docs/HTML/* )
30 22
	fi
31

  
32
	insinto /usr/share/php
33
	doins -r Net
23
	php-pear-r2_src_install
34 24
}
Thank you!