gentoo-overlay/net-im/mautrix-signal/mautrix-signal-0.5.1.ebuild
2024-09-06 03:11:24 +02:00

35 lines
1,001 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module systemd
DESCRIPTION="A Matrix-Signal puppeting bridge."
HOMEPAGE="https://docs.mau.fi/bridges/go/signal/index.html"
SRC_URI="https://github.com/mautrix/signal/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://gentoo-overlay.friedli.info/${P}-vendor.tar.xz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="acct-user/mautrix-signal"
RDEPEND="${DEPEND}"
S="${WORKDIR}/signal-${PV}"
src_compile() {
ego build
}
#src_install() {
# dobin drone-runner-docker
# dodoc CHANGELOG.md HISTORY.md
# newinitd "${FILESDIR}"/drone-runner-docker.initd drone-runner-docker
# newconfd "${FILESDIR}"/drone-runner-docker.confd drone-runner-docker
#
# systemd_dounit "${FILESDIR}"/drone-runner-docker.service
#
# keepdir /var/log/drone-runner-docker /var/lib/drone-runner-docker
# fowners -R ${PN}:${PN} /var/log/drone-runner-docker /var/lib/drone-runner-docker
#}