1
0

Add Lightcord

You can thank AlwaysLivid for this one, he bribed me with diamonds in
Minecraft. :-)
This commit is contained in:
Ryan Fox 2020-08-27 04:25:16 +00:00
parent 411e93d49d
commit 4519f864c0
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
4 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,5 @@
AUX Lightcord.desktop 162 BLAKE2B c3f237bcbea1852cb5dc1863748a6bd67ca4c8dd31adf0f8bdc09af7619401802c1665925226e4844ed5599fc0068a004e70932eac3109ca950809494194bff4 SHA512 15fb7efd771d0689ebe0d2e8bf80fb6fb8d14c8732f8d29f9a02fe3c4ff7e187cd7cd40e015d3e4df705b8939378ec484dc433ebd28d4c5e4b5668626facafc3
DIST lightcord-bin-0.1.4.zip 135858522 BLAKE2B 5c41c340f9baa5ba5b71b7c9df91044e7cebcb2fc69af66caffc2acf0134e6e39221cdc6346b8e1ea021224e5d0781c926669ae30e648701667ea74536eb03da SHA512 2065ecdd43c3e8bdbcd8bd35372b7e16fbceec81fc8e16fb575dcdca96efc14e2d75422899643ba91614ad33696455ad6bdf7169e4a6054b6e9791649851f927
DIST lightcord.png 19479 BLAKE2B 6513b99dca2bbafb98bf323e390e399b42af4cb8bc65c22d7c7351a249f266150182927b0eaef6a3b7441563d1d0bb2ca70b0374d71fd46d5c59f800d8272954 SHA512 0dde926785b5bec8a36ea597adbfacaafc3ec2038594f57f72048b9c9870b6c3343b9d03c6b81acf4abaf327e3c250c478706df59c920773683b0066c6292cbd
EBUILD lightcord-bin-0.1.4.ebuild 1301 BLAKE2B ab160d962a0ace93472a70f9b7e8f4173d7f3c15ef904564e3a41e616c2ab19041d7bb3b5c1a7f5ef9fd78e67abc4d815be49cd6cfb26cd6f6111924e6cfba1e SHA512 7e0b9c18d38cea9f042df79062351dff46e3f518e51cd2b84c701cc7382ca03992fac8b3af8b902c83a2024d22855b1f99446b565259780ec4200fdfed66abcb
MISC metadata.xml 236 BLAKE2B fdb34c66e3059efc0efb2328ffedb24c495be95dfeb68b7adcdf5ab1a88eee6788294d07ec032238de7d9127cffd50a1598b42aa8f99d3d11f54a761c79a9482 SHA512 43add4c2db3d06110521dea982cfcbddc98d63bb1e1b89952511654d54f09746e0d76ac1e0f0e70d2832357f44fe11fc4653500b856c7b29d05a55bb70535e80

View File

@ -0,0 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Lightcord
Comment=A fancy, customizable Discord client
Terminal=false
Exec=/usr/bin/lightcord
Icon=lightcord

View File

@ -0,0 +1,57 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit desktop xdg-utils
SRC_URI="
https://lightcord.deroku.xyz/api/v1/gh/releases/Lightcord/Lightcord/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/crashpad_handler
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"
}
pkg_postinst() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_mimeinfo_database_update
xdg_desktop_database_update
xdg_icon_cache_update
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>flewkey@2a03.party</email>
<name>Ryan Fox</name>
</maintainer>
</pkgmetadata>