aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny (tastytea) Gutbrod <gentoo@tastytea.de>2020-05-22 21:55:47 +0200
committerRonny (tastytea) Gutbrod <gentoo@tastytea.de>2020-05-22 21:55:47 +0200
commitb945631d3e4303ff72253db76366151ef4529a38 (patch)
tree967360bc58d40eaba10573a235fdb1f6b7920c12
parentgames-util/legendary: (diff)
downloadguru-b945631d.tar.gz
guru-b945631d.tar.bz2
guru-b945631d.zip
net-im/go-sendxmpp: New package.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
-rw-r--r--net-im/go-sendxmpp/Manifest5
-rw-r--r--net-im/go-sendxmpp/go-sendxmpp-0_pre20200423.ebuild46
-rw-r--r--net-im/go-sendxmpp/metadata.xml11
3 files changed, 62 insertions, 0 deletions
diff --git a/net-im/go-sendxmpp/Manifest b/net-im/go-sendxmpp/Manifest
new file mode 100644
index 0000000..adf4638
--- /dev/null
+++ b/net-im/go-sendxmpp/Manifest
@@ -0,0 +1,5 @@
+DIST github.com%2Fmattn%2Fgo-xmpp%2F@v%2Fv0.0.0-20200309091041-899ef71e80d2.mod 32 BLAKE2B bb6ee50a0e4b439bb0c8ea35961567768bcae1957e6e7d9d4b78f4a91bcecaf8c9d5624de322eb45ef748105368e1fe38034a708101dca295168e6adf79f9193 SHA512 c167f2bd42e1fd473d58dc74fdcfcaf12a53133995a513fef5e08841ced5f9de07ec911f617d49501a235e8349b07b6625f4f80464fa439beb28586951227e50
+DIST github.com%2Fmattn%2Fgo-xmpp%2F@v%2Fv0.0.0-20200309091041-899ef71e80d2.zip 18709 BLAKE2B 8577068c5d92982672aadf4a0281fa934989199c8946046c09c75d33fa297a4a680624aea37437f7835486c1efdc0e27475986e45e65164bd0e28b712a746d94 SHA512 74f64f361670ece0d94d6485e951f2e9fd46b7bfea92cae5d1958007d56033e358f1f83bd390008552cf12a6977c44f5f3b75cd7efbfb61efe6fc5d9528bab60
+DIST github.com%2Fpborman%2Fgetopt%2F@v%2Fv0.0.0-20190409184431-ee0cd42419d3.mod 33 BLAKE2B 00f9f8e688d302c27f668e5d5f943b1cc058e090d7e2d32e70d56a9782f7cb3c62a4dc399d3cf97321a07702d3fdf170dec82175b8f0af3865fa3e261d982772 SHA512 20529318383fec61da3ad57a44f1b1d21011b6db36d5f04ba7ef7008a722724a09bda8d706166620ca3e346cd42c295b1c698d650d5549bef8173546288702d7
+DIST github.com%2Fpborman%2Fgetopt%2F@v%2Fv0.0.0-20190409184431-ee0cd42419d3.zip 81903 BLAKE2B 884525ed9223c8c2257a9211386023342e11c31ae47ff5379f9b4da27b79f76e8b7224b6306da99372c31eae19b7c471318c3dc771da75d07ee47d3861958420 SHA512 92238084eec7c35c43aa23c5b49eb47e47fa7de69ddcd2030d425f1c679e6b1acdadd8fc9d68c9001082e913bb179e44774dd6d3f5177c0ec17a10e4f01ac3ab
+DIST go-sendxmpp-0_pre20200423.tar.bz2 34808 BLAKE2B 04756049f73c36421fa540f25994a305f3c193ab4f2bfb87ac9e27524ac527a2e71391c7aa11a323518b51c664683264b0e0bfc5ce80ed1c243bddc2681a8c9a SHA512 545774f827ff0f8d0ecc583aad9298a173511888a0c285d28d7d5c59764a319fdbe8c34aee36b900de290a3de78cdefc8dd3a12a37c54f8d6079b302a3dd6b9b
diff --git a/net-im/go-sendxmpp/go-sendxmpp-0_pre20200423.ebuild b/net-im/go-sendxmpp/go-sendxmpp-0_pre20200423.ebuild
new file mode 100644
index 0000000..6262d14
--- /dev/null
+++ b/net-im/go-sendxmpp/go-sendxmpp-0_pre20200423.ebuild
@@ -0,0 +1,46 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit go-module
+
+EGO_PN="salsa.debian.org/mdosch/go-sendxmpp"
+# NOTE: Keep EGO_SUM in sync with go.sum.
+EGO_SUM=(
+ "github.com/mattn/go-xmpp v0.0.0-20200309091041-899ef71e80d2 h1:F544zRtDc/pMpFNHN46oeXV2jIAG4DoMH+6zlVSn0Q8="
+ "github.com/mattn/go-xmpp v0.0.0-20200309091041-899ef71e80d2/go.mod h1:Cs5mF0OsrRRmhkyOod//ldNPOwJsrBvJ+1WRspv0xoc="
+ "github.com/pborman/getopt v0.0.0-20190409184431-ee0cd42419d3 h1:YtFkrqsMEj7YqpIhRteVxJxCeC3jJBieuLr0d4C4rSA="
+ "github.com/pborman/getopt v0.0.0-20190409184431-ee0cd42419d3/go.mod h1:85jBQOZwpVEaDAr341tbn15RS4fCAsIst0qp7i8ex1o="
+)
+go-module_set_globals
+
+MY_COMMIT="cbac6dbe8d983d792c8a683c68535bb499896098"
+
+DESCRIPTION="A little tool to send messages to an XMPP contact or MUC"
+HOMEPAGE="https://salsa.debian.org/mdosch/go-sendxmpp"
+SRC_URI="
+ https://salsa.debian.org/mdosch/${PN}/-/archive/${MY_COMMIT}/${PN}-${MY_COMMIT}.tar.bz2 -> ${P}.tar.bz2
+ ${EGO_SUM_SRC_URI}
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND=""
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${MY_COMMIT}"
+
+src_compile() {
+ default
+
+ go build || die
+}
+
+src_install() {
+ default
+
+ dobin go-sendxmpp
+}
diff --git a/net-im/go-sendxmpp/metadata.xml b/net-im/go-sendxmpp/metadata.xml
new file mode 100644
index 0000000..3e17e69
--- /dev/null
+++ b/net-im/go-sendxmpp/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@tastytea.de</email>
+ <name>Ronny (tastytea) Gutbrod</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://salsa.debian.org/mdosch/go-sendxmpp/-/issues</bugs-to>
+ </upstream>
+</pkgmetadata>