Add 3.7.1.
This commit is contained in:
parent
edc2244616
commit
c81a895549
@ -1,2 +1,3 @@
|
||||
DIST WebCord-3.5.2-x64.AppImage 97461440 BLAKE2B deaf70e834bfb7f5476de4a9460f6f95b1159e7a4dffcaa826fadd289efc3c569b526da30cccbacdcd6965b2644954aaaabcf00b9d662e0bae028958a8112353 SHA512 911cd80d993a53d42b42c6e01a2879faff749fefa109971a68cc07017b29e6fe1270283ea2bca7e3378ab4faa75b600f51090ae5a561a6472eb5ac6c618fa0ba
|
||||
DIST WebCord-3.6.0-x64.AppImage 97469632 BLAKE2B 4a83cbbfff21490e17d35c32d185b960312156d104a764ccf0192a57f299c032024734652550cac56355a30aabc207c10b7ff0375686b0325b5da315554c2e5e SHA512 cf6ee8d974bcc0b2fa9b91e67677d6df1f0062b2a27212e16dd3e2ba33db6f49d05ce53ccad7a716e4a9872bfe670729bbdbe9a650a80c3742d37ab18a36b696
|
||||
DIST WebCord-3.7.1-x64.AppImage 103670976 BLAKE2B dd8f29cd80f37f38e8087a1c798758916ef4fbba2997513a1244860d22da574bfcafe5d8d9a6ebe9aa8bba6df72dc2e022dc0d60492778e45c9d020b04496600 SHA512 689147cf391408323464e7ade99aebec3e22961f80d2e78703dcf421e9cef78d9179498d6b0e0939a494715b7ab71b064265da0979f90f5c0a2cd0adf165c896
|
||||
|
53
net-im/webcord-bin/webcord-bin-3.7.1.ebuild
Normal file
53
net-im/webcord-bin/webcord-bin-3.7.1.ebuild
Normal file
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="A Discord and Fosscord client implemented directly without Discord API."
|
||||
|
||||
HOMEPAGE="https://github.com/SpacingBat3/WebCord"
|
||||
SRC_URI="https://github.com/SpacingBat3/WebCord/releases/download/v${PV}/WebCord-${PV}-x64.AppImage"
|
||||
|
||||
LICENSE="MIT"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
src_unpack() {
|
||||
mkdir "${S}" || die
|
||||
cp "${DISTDIR}/${A}" "${S}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
chmod +x ${A}
|
||||
./${A} --appimage-extract || die "Extraction Failed"
|
||||
|
||||
default
|
||||
|
||||
# Edit files to reflect naming.
|
||||
sed -i -e "s/lib\/webcord/lib\/${PN}/" "squashfs-root/usr/bin/webcord" || die "Sed failed!"
|
||||
sed -i -e "s/webcord/${PN}/" "squashfs-root/WebCord.desktop" || die "Sed failed!"
|
||||
sed -i -e "s/\.\/${PN}.png/${PN}/" "squashfs-root/WebCord.desktop" || die "Sed failed!"
|
||||
|
||||
mv "squashfs-root/usr/lib/webcord" "squashfs-root/usr/lib/${PN}" || die
|
||||
# Move executable out to be installed as executable later.
|
||||
mv "squashfs-root/usr/lib/${PN}/webcord" ./ || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto "/usr/bin"
|
||||
newexe "squashfs-root/usr/bin/webcord" "${PN}"
|
||||
|
||||
insinto "/usr/lib"
|
||||
doins -r "squashfs-root/usr/lib/${PN}"
|
||||
|
||||
exeinto "/usr/lib/${PN}"
|
||||
doexe "webcord"
|
||||
|
||||
insinto "/usr/share/applications"
|
||||
newins "squashfs-root/WebCord.desktop" "${PN}.desktop"
|
||||
|
||||
insinto "/usr/share/pixmaps"
|
||||
newins "squashfs-root/webcord.png" "${PN}.png"
|
||||
}
|
Loading…
Reference in New Issue
Block a user