summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild (renamed from dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1.ebuild)8
1 files changed, 8 insertions, 0 deletions
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
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}
+}