guru/net-im/go-sendxmpp/go-sendxmpp-0.6.1.ebuild
tastytea f372856b8d
net-im/go-sendxmpp: add 0.6.1
Signed-off-by: tastytea <gentoo@tastytea.de>
2023-08-26 12:25:28 +02:00

31 lines
709 B
Bash

# Copyright 2020-2023 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 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
https://tastytea.de/files/gentoo/${P}-vendor.tar.xz
"
S="${WORKDIR}/${PN}-v${PV}"
LICENSE="BSD-2 BSD MIT"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ego build -buildmode=pie
}
src_install() {
dobin go-sendxmpp
default
}