--- /dev/null
+# 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 <wking@drexel.edu> 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.
--- /dev/null
+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
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd></herd>
+ <maintainer>
+ <email>wking@drexel.edu</email>
+ <name>W. Trevor King</name>
+ </maintainer>
+</pkgmetadata>
--- /dev/null
+# 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
+}