net-im/sendxmpp-scala - 1.2.1 (gentoo)

Search

Package Information

Description:
Send XMPP (Jabber) messages via command line
Homepage:
https://github.com/flowdalic/sendxmpp

Ebuild Details

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

EAPI=8

inherit java-utils-2

DESCRIPTION="Send XMPP (Jabber) messages via command line"
HOMEPAGE="https://github.com/flowdalic/sendxmpp"

if [[ "${PV}" == "9999" ]] || [[ -n "${EGIT_COMMIT_ID}" ]]; then
	EGIT_REPO_URI="https://github.com/Flowdalic/sendxmpp.git"
	inherit git-r3
else
	SRC_URI="https://dev.gentoo.org/~flow/distfiles/sendxmpp/sendxmpp-dist-${PV}.jar.xz"
	KEYWORDS="~amd64 ~arm64"
	S="${WORKDIR}"
fi

LICENSE="GPL-3+"

SLOT="0"

RDEPEND="
	>=virtual/jre-17
	!net-im/sendxmpp
"

src_install() {
	java-pkg_newjar sendxmpp-dist-${PV}.jar sendxmpp.jar
	java-pkg_dolauncher sendxmpp -jar sendxmpp.jar

	insinto /var/lib/${PN}
	newins - version <<-EOF
	${PVR}
	EOF
}

Dependencies

RDEPEND

	>=virtual/jre-17
	!net-im/sendxmpp

Manifest for 1.2.1

Type File Size Source URLs
DIST sendxmpp-dist-1.2.1.jar.xz 20844020 bytes https://dev.gentoo.org/~flow/distfiles/sendxmpp/sendxmpp-dist-1.2.1.jar.xz