Add net-im/matterbridge alongside associated dependencies
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
42
net-im/matterbridge/matterbridge-1.26.0.ebuild
Normal file
42
net-im/matterbridge/matterbridge-1.26.0.ebuild
Normal file
@@ -0,0 +1,42 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module systemd
|
||||
|
||||
DESCRIPTION="A simple chat bridge"
|
||||
HOMEPAGE="https://github.com/42wim/matterbridge"
|
||||
SRC_URI="
|
||||
https://github.com/42wim/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://mirror.chaotic.ninja/software/${PN}-vendor.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
acct-user/matterbridge
|
||||
acct-group/matterbridge
|
||||
"
|
||||
BDEPEND="
|
||||
acct-user/matterbridge
|
||||
acct-group/matterbridge
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_compile() {
|
||||
ego build -o bin/${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/${PN}
|
||||
newinitd "${FILESDIR}/${PN}.initd-r2" "${PN}"
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "For setting up Matterbridge, please refer to: "
|
||||
elog "https://github.com/42wim/matterbridge/wiki"
|
||||
}
|
||||
Reference in New Issue
Block a user