2022-11-11 15:48:06 +01:00
|
|
|
# Copyright 2022 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
DESCRIPTION="Minimal rautafarmi client with Vim keybinds."
|
|
|
|
HOMEPAGE="https://speedie.gq/rchat"
|
|
|
|
|
2022-11-11 18:06:13 +01:00
|
|
|
if [[ ${PV} == 9999 ]]; then
|
|
|
|
inherit git-r3
|
|
|
|
EGIT_REPO_URI="https://codeberg.org/speedie/${PN}.git"
|
|
|
|
else
|
|
|
|
SRC_URI="https://raw.githubusercontent.com/speediegq/rchat/tarball/${PN}-${PV}.tar.gz"
|
|
|
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~~riscv ~x86"
|
|
|
|
fi
|
2022-11-11 15:48:06 +01:00
|
|
|
|
|
|
|
LICENSE="GPLv3"
|
|
|
|
SLOT="0"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
app-shells/bash
|
|
|
|
sys-apps/sed
|
|
|
|
net-misc/curl
|
|
|
|
"
|
|
|
|
|
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
newbin "${WORKDIR}/${P}/${PN}" ${PN}
|
|
|
|
}
|