net-im/go-sendxmpp - 0.17.0 (guru)

Search

Install

Install this version:

emerge -a =net-im/go-sendxmpp-0.17.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-im/go-sendxmpp-0.17.0

Or alternatively:

emerge --autounmask-write -a =net-im/go-sendxmpp-0.17.0

Package Information

Description:
A tool to send messages or files to an XMPP contact or MUC
Homepage:
https://salsa.debian.org/mdosch/go-sendxmpp
License:
BSD-2 BSD MIT

Ebuild Details

Version EAPI Keywords Slot
0.17.0 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2020-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit go-module

# NOTE: To create the vendor tarball, run:
# `go mod vendor && cd .. && tar -caf ${P}-vendor.tar.xz ${P/-0/-v0}/vendor`

DESCRIPTION="A tool to send messages or files 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
	https://github.com/gentoo-golang-dist/${PN}/releases/download/v${PV}/${P}-vendor.tar.xz
"
S="${WORKDIR}/${PN}-v${PV}"

LICENSE="BSD-2 BSD MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"

BDEPEND=">=dev-lang/go-1.25.0"

# See https://bugs.gentoo.org/977931#c3
src_unpack() {
	mkdir "${S}" || die
	ln -s "../${P}/vendor" "${S}"/vendor || die
	go-module_src_unpack
}

src_compile() {
	ego build -buildmode=pie
}

src_install() {
	dobin go-sendxmpp
	doman man/go-sendxmpp.1
	doman man/go-sendxmpp.5
	default
}

src_test() {
	ego test ./...
}

Inherited Eclasses

Dependencies

BDEPEND

>=dev-lang/go-1.25.0

Manifest for 0.17.0

Type File Size Source URLs
DIST go-sendxmpp-0.17.0-vendor.tar.xz 642844 bytes https://github.com/gentoo-golang-dist/go-sendxmpp/releases/download/v0.17.0/go-sendxmpp-0.17.0-vendor.tar.xz
DIST go-sendxmpp-0.17.0.tar.bz2 48190 bytes https://salsa.debian.org/mdosch/go-sendxmpp/-/archive/v0.17.0/go-sendxmpp-v0.17.0.tar.bz2