commit:     6c4ef372ff8792cd66129babf7c055ce84c1b82d
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Sep  1 18:54:48 2016 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Sep  1 18:54:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c4ef372

dev-php/PEAR-Net_URL2: Revbump to include in local pear database

Package-Manager: portage-2.3.0

 .../{PEAR-Net_URL2-2.2.1.ebuild => PEAR-Net_URL2-2.2.1-r1.ebuild} | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1.ebuild 
b/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild
similarity index 79%
rename from dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1.ebuild
rename to dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild
index 0e62037..61cc568 100644
--- a/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1.ebuild
+++ b/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild
@@ -28,3 +28,11 @@ src_install() {
        doins -r Net/
        einstalldocs
 }
+
+pkg_postinst() {
+       peardev install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null
+}
+
+pkg_postrm() {
+       peardev uninstall -nrO --force pear.php.net/${MY_PN}
+}

Reply via email to