1
0
flewkey-overlay/net-im/lightcord-bin/lightcord-bin-0.1.9.ebuild
Ryan Fox 1012c2a2d9
net-im/lightcord-bin: Bump to 0.1.9
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-08-24 22:17:38 +00:00

42 lines
1.0 KiB
Bash

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop xdg
SRC_URI="
https://github.com/Lightcord/Lightcord/releases/download/v${PV}/lightcord-linux-x64.zip -> ${P}.zip
https://raw.githubusercontent.com/Lightcord/LightcordLogos/master/lightcord/lightcord.png
"
KEYWORDS="~amd64"
DESCRIPTION="A fancy, customizable Discord client"
HOMEPAGE="https://lightcord.deroku.xyz/"
LICENSE="MIT"
SLOT="0"
DEPEND="app-arch/unzip"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
QA_PREBUILT="
opt/lightcord/lightcord
opt/lightcord/libEGL.so
opt/lightcord/libffmpeg.so
opt/lightcord/libGLESv2.so
opt/lightcord/libvk_swiftshader.so
opt/lightcord/swiftshader/libEGL.so
opt/lightcord/swiftshader/libGLESv2.so
"
src_install() {
doicon "${DISTDIR}/lightcord.png"
domenu "${FILESDIR}/Lightcord.desktop"
dodir "/opt/lightcord/"
cp -r "${S}/"* "${D}/opt/lightcord/" || die "Failed to install"
fperms +x "/opt/lightcord/lightcord"
dosym "../../opt/lightcord/lightcord" "/usr/bin/lightcord"
}