net-irc/matterircd - 0.27.0 (stintel)

Search

Package Information

Homepage:
https://github.com/42wim/matterircd
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
0.27.0 7 ~amd64 ~arm 0
View Raw Ebuild
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
inherit golang-build golang-vcs-snapshot

EGO_PN=github.com/42wim/matterircd

if [[ ${PV} = *9999* ]]; then
	inherit golang-vcs
	KEYWORDS=""
else
	SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
	KEYWORDS="~amd64 ~arm"
fi

DESCRIPTION="Connect to your mattermost or slack using your IRC-client of choice."
HOMEPAGE="https://github.com/42wim/matterircd"
LICENSE="MIT"
SLOT="0"
IUSE=""

src_install() {
	dobin ${PN}
	newinitd "${FILESDIR}"/${PN}.init ${PN}

	insinto /etc/
	newins "${S}/src/${EGO_PN}/matterircd.toml.example" matterircd.toml

	insinto /etc/logrotate.d/
	newins "${FILESDIR}/${PN}.logrotate" "${PN}"
}

Manifest for 0.27.0

Type File Size Source URLs
DIST matterircd-0.27.0.tar.gz 5582215 bytes https://github.com/42wim/matterircd/archive/v0.27.0.tar.gz