discord: update to 0.0.11

This commit is contained in:
FirstZero 2020-08-06 21:13:02 +02:00 committed by Andrew Benson
parent 694419912c
commit 6b2dd20485

View file

@ -1,21 +1,19 @@
# Template file for 'discord'
# Originally created by Benjamin Hoffmeyer, modified for stable Discord
pkgname=discord
version=0.0.10
version=0.0.11
revision=1
depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
wrksrc="Discord"
archs="x86_64"
nopie=yes
repository=nonfree
restricted=yes
wrksrc="Discord"
depends="alsa-lib dbus-glib gtk+3 GConf libnotify nss libXtst libcxx libatomic"
short_desc="Chat and VOIP application"
maintainer="Ryan Conwell <ryanconwell@protonmail.com>"
license="proprietary"
license="custom:Proprietary"
homepage="https://discordapp.com"
distfiles="https://dl.discordapp.net/apps/linux/${version}/discord-${version}.tar.gz"
checksum=58d14bb909f48577970d8ef717dff9860404d7f77c785f1f552363655114a94f
checksum=a474761d72ee3fb7fdd31aefc441fc5aa953a2f5dcbe8c30f14fbe105fe458e9
repository=nonfree
restricted=yes
nopie=yes
do_install() {
local package_location="usr/lib/$pkgname" item
@ -25,7 +23,9 @@ do_install() {
vcopy discord.desktop /usr/share/applications/
vmkdir ${package_location}
chmod +x Discord
for item in locales resources Discord libffmpeg.so natives_blob.bin snapshot_blob.bin icudtl.dat libEGL.so libGLESv2.so chrome_100_percent.pak chrome_200_percent.pak chrome-sandbox resources.pak swiftshader v8_context_snapshot.bin; do
for item in locales resources Discord libffmpeg.so natives_blob.bin snapshot_blob.bin \
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; do
vcopy "${item}" "${package_location}"
done
vmkdir usr/bin