discord: update to 0.0.23.
This commit is contained in:
parent
7e7ac2559f
commit
75fd7f52d1
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'discord'
|
||||
pkgname=discord
|
||||
version=0.0.22
|
||||
version=0.0.23
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
depends="alsa-lib dbus-glib gtk+3 libnotify nss libXtst libcxx libatomic
|
||||
|
@ -10,7 +10,7 @@ maintainer="Ryan Conwell <ryanconwell@protonmail.com>"
|
|||
license="custom:Proprietary"
|
||||
homepage="https://discord.com"
|
||||
distfiles="https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"
|
||||
checksum=175c73771e049ba45e7fb1d37bd107ef0871e3d8857340c5a5a40a745aaeaba7
|
||||
checksum=288c005901f2bf5a1148021e1d22fd297419d43c70b0f989820ab72aa79faa44
|
||||
repository=nonfree
|
||||
restricted=yes
|
||||
nopie=yes
|
||||
|
@ -24,15 +24,32 @@ do_install() {
|
|||
vcopy discord.desktop /usr/share/applications/
|
||||
vmkdir ${package_location}
|
||||
chmod +x Discord
|
||||
for item in locales resources Discord libffmpeg.so snapshot_blob.bin discord.png\
|
||||
icudtl.dat libEGL.so libGLESv2.so chrome_100_percent.pak chrome_200_percent.pak \
|
||||
chrome-sandbox resources.pak swiftshader v8_context_snapshot.bin postinst.sh \
|
||||
libvk_swiftshader.so; do
|
||||
for item in \
|
||||
locales \
|
||||
resources \
|
||||
Discord \
|
||||
libffmpeg.so \
|
||||
snapshot_blob.bin \
|
||||
discord.png \
|
||||
icudtl.dat \
|
||||
libEGL.so \
|
||||
libGLESv2.so \
|
||||
chrome_100_percent.pak \
|
||||
chrome_200_percent.pak \
|
||||
chrome_crashpad_handler \
|
||||
chrome-sandbox \
|
||||
resources.pak \
|
||||
swiftshader \
|
||||
v8_context_snapshot.bin \
|
||||
postinst.sh \
|
||||
libvk_swiftshader.so
|
||||
do
|
||||
vcopy "${item}" "${package_location}"
|
||||
done
|
||||
vmkdir usr/bin
|
||||
ln -sfr $DESTDIR/${package_location}/Discord $DESTDIR/usr/bin/Discord
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense $FILESDIR/LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue