Files
guru/net-im/go-sendxmpp/go-sendxmpp-0.15.8.ebuild
Niklaus 'vimja' Hofer da9407179e net-im/go-sendxmpp: update SRC_URI
Signed-off-by: Niklaus 'vimja' Hofer <gentoo-bugzilla@vimja.email>
2026-06-20 13:45:44 +02:00

35 lines
836 B
Bash

# 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"
src_compile() {
ego build -buildmode=pie
}
src_install() {
dobin go-sendxmpp
doman man/go-sendxmpp.1
doman man/go-sendxmpp.5
default
}