1 |
commit: 6c4ef372ff8792cd66129babf7c055ce84c1b82d |
2 |
Author: Brian Evans <grknight <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Sep 1 18:54:48 2016 +0000 |
4 |
Commit: Brian Evans <grknight <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Sep 1 18:54:48 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c4ef372 |
7 |
|
8 |
dev-php/PEAR-Net_URL2: Revbump to include in local pear database |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
.../{PEAR-Net_URL2-2.2.1.ebuild => PEAR-Net_URL2-2.2.1-r1.ebuild} | 8 ++++++++ |
13 |
1 file changed, 8 insertions(+) |
14 |
|
15 |
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 |
16 |
similarity index 79% |
17 |
rename from dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1.ebuild |
18 |
rename to dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild |
19 |
index 0e62037..61cc568 100644 |
20 |
--- a/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1.ebuild |
21 |
+++ b/dev-php/PEAR-Net_URL2/PEAR-Net_URL2-2.2.1-r1.ebuild |
22 |
@@ -28,3 +28,11 @@ src_install() { |
23 |
doins -r Net/ |
24 |
einstalldocs |
25 |
} |
26 |
+ |
27 |
+pkg_postinst() { |
28 |
+ peardev install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null |
29 |
+} |
30 |
+ |
31 |
+pkg_postrm() { |
32 |
+ peardev uninstall -nrO --force pear.php.net/${MY_PN} |
33 |
+} |