From: Brian Evans Date: Thu, 1 Sep 2016 18:54:48 +0000 (-0400) Subject: dev-php/PEAR-Net_URL2: Revbump to include in local pear database X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6c4ef372ff8792cd66129babf7c055ce84c1b82d;p=gentoo.git dev-php/PEAR-Net_URL2: Revbump to include in local pear database Package-Manager: portage-2.3.0 --- 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 0e6203796b4a..61cc568ab32e 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} +}