Skip to content

Commit

Permalink
dev-php/PEAR-Net_SmartIRC: Version bump
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.3, Repoman-2.3.1
  • Loading branch information
Brian Evans committed Dec 22, 2016
1 parent c90d459 commit 6215f32
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-php/PEAR-Net_SmartIRC/Manifest
Original file line number Diff line number Diff line change
@@ -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
37 changes: 37 additions & 0 deletions dev-php/PEAR-Net_SmartIRC/PEAR-Net_SmartIRC-1.1.9.ebuild
Original file line number Diff line number Diff line change
@@ -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}"
}

0 comments on commit 6215f32

Please sign in to comment.