summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2016-09-01 14:54:48 -0400
committerBrian Evans <grknight@gentoo.org>2016-09-01 14:54:48 -0400
commit6c4ef372ff8792cd66129babf7c055ce84c1b82d (patch)
tree728fb2b2e9a60cadc4d6372548d1355478cf91e9 /dev-php/PEAR-Net_URL2
parentdev-python/reproject: version bump (diff)
downloadgentoo-6c4ef372ff8792cd66129babf7c055ce84c1b82d.tar.gz
gentoo-6c4ef372ff8792cd66129babf7c055ce84c1b82d.tar.bz2
gentoo-6c4ef372ff8792cd66129babf7c055ce84c1b82d.zip
dev-php/PEAR-Net_URL2: Revbump to include in local pear database
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-php/PEAR-Net_URL2')
-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 0e6203796b4..61cc568ab32 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}
+}