SwordArMor-gentoo-overlay/net-im/sliding-sync/sliding-sync-0.99.19.ebuild
Alarig Le Lay d9341db63a
net-im/sliding-sync: add 0.99.19, drop 0.99.18
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
2024-07-05 10:28:13 +02:00

33 lines
755 B
Bash

# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module systemd
DESCRIPTION="Proxy implementation of MSC3575's sync protocol."
HOMEPAGE="https://github.com/matrix-org/sliding-sync"
SRC_URI="
https://github.com/matrix-org/sliding-sync/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz
https://herbizarre.swordarmor.fr/garbage/${P}-deps.tar.xz
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="dev-db/postgresql"
DEPEND="${RDEPEND}"
src_compile() {
ego build "${S}/cmd/syncv3"
}
src_install() {
dobin syncv3
newinitd "${FILESDIR}"/sliding-sync.initd sliding-sync
newconfd "${FILESDIR}"/sliding-sync.confd sliding-sync
systemd_dounit "${FILESDIR}"/sliding-sync.service
}