guru/net-im/go-sendxmpp/go-sendxmpp-0.1.1.ebuild
Ronny (tastytea) Gutbrod 2dbe4cf93e
net-im/go-sendxmpp: Version bump 0.1.1.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
2021-10-05 23:11:12 +02:00

51 lines
1.4 KiB
Bash

# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
EGO_SUM=(
"github.com/gabriel-vasile/mimetype v1.3.1"
"github.com/gabriel-vasile/mimetype v1.3.1/go.mod"
"github.com/mattn/go-xmpp v0.0.0-20210723025538-3871461df959"
"github.com/mattn/go-xmpp v0.0.0-20210723025538-3871461df959/go.mod"
"github.com/pborman/getopt/v2 v2.1.0"
"github.com/pborman/getopt/v2 v2.1.0/go.mod"
"golang.org/x/net v0.0.0-20210505024714-0287a6fb4125"
"golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod"
"golang.org/x/net v0.0.0-20210908191846-a5e095526f91"
"golang.org/x/net v0.0.0-20210908191846-a5e095526f91/go.mod"
"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
"golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
"golang.org/x/text v0.3.6/go.mod"
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
)
go-module_set_globals
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/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2
${EGO_SUM_SRC_URI}
"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="BSD-2 BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND="${RDEPEND}"
src_compile() {
go build || die
}
src_install() {
default
dobin go-sendxmpp
}