From 58d248138466aa7848fc573b4823bec360db6887 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 19 Feb 2012 10:35:09 -0500 Subject: [PATCH] Add net-im/twirssi package. --- ChangeLog | 14 +++++++++++++ Manifest | 3 +++ metadata.xml | 9 ++++++++ twirssi-9999.ebuild | 51 +++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 77 insertions(+) create mode 100644 ChangeLog create mode 100644 Manifest create mode 100644 metadata.xml create mode 100644 twirssi-9999.ebuild diff --git a/ChangeLog b/ChangeLog new file mode 100644 index 0000000..7a83151 --- /dev/null +++ b/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for net-im/twirrsi +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*twirrsi-9999 (19 Feb 2012) + 19 Feb 2011; W. Trevor King ChangeLog, metadata.xml, + twirrsi-9999.ebuild : + - Created ebuild suite for twirrsi. + - Added initial ChangeLog which should be updated whenever the + package is updated in any way. This changelog is targetted to + users. This means that the comments should well explained and + written in clean English. The details about writing correct + changelogs are explained in the skel.ChangeLog file which you can + find in the root directory of the portage repository. diff --git a/Manifest b/Manifest new file mode 100644 index 0000000..7abd9dc --- /dev/null +++ b/Manifest @@ -0,0 +1,3 @@ +EBUILD twirssi-9999.ebuild 923 RMD160 628dc4691ecff26e9afd45a56a9c10b3ee2093ea SHA1 d6b2de9a3fd696980b9a0127fcdbef08c9063588 SHA256 63e999d4b3ee46d4ca077e461489d8b97a741e9ffa4ac5a6e5dcf30b3ec9baa9 +MISC ChangeLog 661 RMD160 985a6aca5936c570ba723cdeb47a1ce67c15f16c SHA1 653d7c509e634c0cefadc6224fb7f2e7e17db546 SHA256 9980e4d4723b9fac7eff4dd6e5b536f1f7e1e0b3e999308692a0e4a22dc7fc0a +MISC metadata.xml 247 RMD160 6735f3a5dd2d7a2b70589d1693f35d54291b7147 SHA1 c015969fe50967340dd050a44cb9f8a30b5e34a5 SHA256 9e65060e5f9d0a50d28c7a69d9c27fed6c3037fdd3e420cc276627fde2794f72 diff --git a/metadata.xml b/metadata.xml new file mode 100644 index 0000000..d124928 --- /dev/null +++ b/metadata.xml @@ -0,0 +1,9 @@ + + + + + + wking@drexel.edu + W. Trevor King + + diff --git a/twirssi-9999.ebuild b/twirssi-9999.ebuild new file mode 100644 index 0000000..ed41933 --- /dev/null +++ b/twirssi-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +if [ "${PV}" == "9999" ]; then + inherit git-2 + EGIT_REPO_URI="git://github.com/zigdon/twirssi.git" + SRC_URI="" +else + SRC_URI="http://twirssi.com/${PN}.pl" +fi + +DESCRIPTION="Post to Twitter and Identi.ca from Irssi." +HOMEPAGE="http://twirssi.com/" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="doc" + +DEPEND="net-irc/irssi[perl] + dev-perl/DateTime + dev-perl/DateTime-Format-Strptime + dev-perl/HTML-Parser + dev-perl/HTTP-Date + dev-perl/JSON-Any + dev-perl/Net-Twitter + dev-perl/libwww-perl + perl-core/Data-Dumper + perl-core/Encode + " +RDEPEND="${DEPEND}" + +src_unpack() { + if [ "${PV}" == "9999" ]; then + git-2_src_unpack + else + unpack "${A}" + fi + cd "${S}" +} + +src_install() { + insinto "/usr/share/irssi/scripts/" + doins twirssi.pl + dodoc README + if use doc; then + dohtml -r html/* + fi +} -- 2.26.2