dev-php/PEAR-Mail_mimeDecode: Revision bump to fix WORKDIR wrt bug 613122

Package-Manager: Portage-2.3.5, Repoman-2.3.2
This commit is contained in:
Brian Evans
2017-03-19 10:14:41 -04:00
parent e7e2602102
commit 43837e8520
2 changed files with 19 additions and 31 deletions

View File

@@ -0,0 +1,19 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit php-pear-r2
DESCRIPTION="Provides a class to decode mime messages (split from PEAR-Mail_Mime)"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
RDEPEND=">=dev-php/PEAR-Mail_Mime-1.5.2"
#src_install() {
# insinto /usr/share/php
# doins -r Mail
#}

View File

@@ -1,31 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
MY_PN="${PN#PEAR-}"
DESCRIPTION="Provides a class to decode mime messages (split from PEAR-Mail_Mime)"
HOMEPAGE="http://pear.php.net/package/Mail_mimeDecode"
SRC_URI="http://pear.php.net/get/${MY_PN}-${PV}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND="dev-lang/php:* >=dev-php/pear-1.8.1 >=dev-php/PEAR-Mail_Mime-1.5.2"
RDEPEND="${DEPEND}"
S="${WORKDIR}/${MY_PN}-${PV}"
src_install() {
insinto /usr/share/php
doins -r Mail
}
pkg_postinst() {
peardev install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null
}
pkg_postrm() {
peardev uninstall -nrO --force pear.php.net/${MY_PN}
}