Add net-im/twirssi package.
authorW. Trevor King <wking@drexel.edu>
Sun, 19 Feb 2012 15:35:09 +0000 (10:35 -0500)
committerW. Trevor King <wking@drexel.edu>
Sun, 19 Feb 2012 15:35:09 +0000 (10:35 -0500)
net-im/twirssi/ChangeLog [new file with mode: 0644]
net-im/twirssi/Manifest [new file with mode: 0644]
net-im/twirssi/metadata.xml [new file with mode: 0644]
net-im/twirssi/twirssi-9999.ebuild [new file with mode: 0644]

diff --git a/net-im/twirssi/ChangeLog b/net-im/twirssi/ChangeLog
new file mode 100644 (file)
index 0000000..7a83151
--- /dev/null
@@ -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 <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.
diff --git a/net-im/twirssi/Manifest b/net-im/twirssi/Manifest
new file mode 100644 (file)
index 0000000..7abd9dc
--- /dev/null
@@ -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/net-im/twirssi/metadata.xml b/net-im/twirssi/metadata.xml
new file mode 100644 (file)
index 0000000..d124928
--- /dev/null
@@ -0,0 +1,9 @@
+<?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>
diff --git a/net-im/twirssi/twirssi-9999.ebuild b/net-im/twirssi/twirssi-9999.ebuild
new file mode 100644 (file)
index 0000000..ed41933
--- /dev/null
@@ -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
+}