2023-10-02 01:07:43 +02:00
|
|
|
# Copyright 2020-2023 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=8
|
|
|
|
|
|
|
|
inherit optfeature unpacker xdg
|
|
|
|
|
|
|
|
DESCRIPTION="Discord client for lower end and ARM devices."
|
|
|
|
HOMEPAGE="https://github.com/ArmCord/ArmCord"
|
|
|
|
SRC_URI="https://github.com/ArmCord/ArmCord/releases/download/v${PV}/ArmCord-${PV}.tar.gz -> ${PN}.tar.gz"
|
|
|
|
|
2023-10-02 01:11:06 +02:00
|
|
|
LICENSE="OSL-2.1"
|
2023-10-02 01:07:43 +02:00
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64"
|
|
|
|
S="${WORKDIR}/ArmCord-${PV}"
|
|
|
|
|
|
|
|
src_prepare() {
|
|
|
|
default
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
insinto /opt/armcord
|
|
|
|
doins -r .
|
|
|
|
|
|
|
|
dosym ../../opt/armcord/armcord /usr/bin/armcord
|
|
|
|
|
|
|
|
fperms +x /opt/armcord/chrome-sandbox
|
|
|
|
fperms +x /opt/armcord/armcord
|
|
|
|
}
|