From 6215f3274a644cadd09ce209643f9dac2e9a6a55 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Thu, 22 Dec 2016 10:30:20 -0500 Subject: [PATCH] dev-php/PEAR-Net_SmartIRC: Version bump Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-php/PEAR-Net_SmartIRC/Manifest | 1 + .../PEAR-Net_SmartIRC-1.1.9.ebuild | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.9.ebuild diff --git a/dev-php/PEAR-Net_SmartIRC/Manifest b/dev-php/PEAR-Net_SmartIRC/Manifest index fd2093224c633..903bc5ff736ba 100644 --- a/dev-php/PEAR-Net_SmartIRC/Manifest +++ b/dev-php/PEAR-Net_SmartIRC/Manifest @@ -1 +1,2 @@ DIST Net_SmartIRC-1.1.4.tgz 163494 SHA256 a853622ca4b8cb0224d81d11f0308d8d9f1d0d2326fe65f259fb60b7f66b6484 SHA512 58bea369e7f43094cb4b3d0354cb82afb2842ca21fd83409e683fbecda590f6dc02594e20897acbd6de6f3b60c9122daafd01ab86af270c5ec8a1b4a5ed47afe WHIRLPOOL 812cfe224c8e2fcdddb26615fce538492dfe4e5a8e58f17c8d843af533e913bcc6a561cfaf02fe448cc1785e55e0e8cff1dbb8cc4bdc64a803444bdd2442fac1 +DIST Net_SmartIRC-1.1.9.tgz 168069 SHA256 b3d272221543b8866879ab1d2548b2bca34e14bb8f5e791066e2dcce723b59e1 SHA512 161fb4cbe8443e0e793ce70fcdcb839eee4268be2592dadde23832b54703503c8a57bb7b4819ef023617a256aa2474fceccff58454fb496cb6e52018d0064e35 WHIRLPOOL 09f8affc5e3ea865da784e8ed89de09b818a5460fcbdbe80966f21d51bdcdcfd24bec3c05c42cedcddf65e03047dc56144e1768705560051a82691b409ef839c diff --git a/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.9.ebuild b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.9.ebuild new file mode 100644 index 0000000000000..4ce71310c42f9 --- /dev/null +++ b/dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +MY_PN="${PN/PEAR-/}" +MY_P="${MY_PN}-${PV}" + +HOMEPAGE="http://pear.php.net/package/${MY_PN}" +SRC_URI="http://pear.php.net/get/${MY_P}.tgz" +DESCRIPTION="Net_SmartIRC is a PHP class for communication with IRC networks" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND="dev-php/PEAR-PEAR >=dev-lang/php-5.3:*" + +S="${WORKDIR}/${MY_P}" + +src_install() { + local DOCS=( README.md CREDITS FEATURES ) + insinto /usr/share/php + doins -r Net + einstalldocs +} + +pkg_postinst() { + # Register the package from the package.xml file + "${EROOT}usr/bin/peardev" install -nrO --force "${WORKDIR}/package.xml" 2> /dev/null || die +} + +pkg_postrm() { + # Uninstall known dependency + "${EROOT}usr/bin/peardev" uninstall -nrO "pear.php.net/${MY_PN}" +}