uppkg: discord 0.0.22
This commit is contained in:
parent
8778f0b622
commit
f40b2c0054
3 changed files with 11 additions and 13 deletions
12
.SRCINFO
12
.SRCINFO
|
@ -1,9 +1,7 @@
|
||||||
# Generated by mksrcinfo v8
|
|
||||||
# Thu Nov 10 01:11:24 UTC 2022
|
|
||||||
pkgbase = discord_arch_electron
|
pkgbase = discord_arch_electron
|
||||||
pkgdesc = Discord (popular voice + video app) using the system provided electron for increased security and performance
|
pkgdesc = Discord (popular voice + video app) using the system provided electron for increased security and performance
|
||||||
pkgver = 0.0.21
|
pkgver = 0.0.22
|
||||||
pkgrel = 2
|
pkgrel = 1
|
||||||
url = https://discord.com
|
url = https://discord.com
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
license = custom
|
license = custom
|
||||||
|
@ -15,12 +13,12 @@ pkgbase = discord_arch_electron
|
||||||
provides = discord
|
provides = discord
|
||||||
conflicts = discord
|
conflicts = discord
|
||||||
options = !strip
|
options = !strip
|
||||||
source = https://dl.discordapp.net/apps/linux/0.0.21/discord-0.0.21.tar.gz
|
source = https://dl.discordapp.net/apps/linux/0.0.22/discord-0.0.22.tar.gz
|
||||||
source = discord-launcher.sh
|
source = discord-launcher.sh
|
||||||
source = LICENSE.html::https://discord.com/terms
|
source = LICENSE.html::https://discord.com/terms
|
||||||
source = OSS-LICENSES.html::https://discord.com/licenses
|
source = OSS-LICENSES.html::https://discord.com/licenses
|
||||||
sha512sums = 149ae5b8b7d92549e12eca52e45d3f5761ef022ae321cf33fadc3b56c4cee0616a5166380faea038256213713a7aa90e1befc4caa3e6a4de8e15c1cb1d8f925d
|
sha512sums = 96c8486577bee7ae165bf96aab50c0733d83a2d9435357d9a4d9a3e9f3225ae6a7bf46e1a7d8b419ecc7ab4e270755332621a4f786ddb89a842379f5da40b271
|
||||||
sha512sums = 93418d8e40cab7ed25f6debc341294f76f90a4f879e158cfea418360c8705347653f60dbd6f18fb754448d299404bfa247b07625ae113e9386188d9f9485a14b
|
sha512sums = 6ca6dfbfb65bf4fec34aac4676f66bb602b5c4c3318fcc96236056d632c0c9af3c4eb775b491c2e722ed5de6a4c253677d6ee1a7be69e13045702fa3df8cf52f
|
||||||
sha512sums = SKIP
|
sha512sums = SKIP
|
||||||
sha512sums = SKIP
|
sha512sums = SKIP
|
||||||
|
|
||||||
|
|
10
PKGBUILD
10
PKGBUILD
|
@ -6,8 +6,8 @@
|
||||||
_pkgname=discord
|
_pkgname=discord
|
||||||
_electron=electron19
|
_electron=electron19
|
||||||
pkgname=${_pkgname}_arch_electron
|
pkgname=${_pkgname}_arch_electron
|
||||||
pkgver=0.0.21
|
pkgver=0.0.22
|
||||||
pkgrel=2
|
pkgrel=1
|
||||||
pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
|
pkgdesc="Discord (popular voice + video app) using the system provided electron for increased security and performance"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
provides=('discord')
|
provides=('discord')
|
||||||
|
@ -23,13 +23,13 @@ source=("https://dl.discordapp.net/apps/linux/$pkgver/$_pkgname-$pkgver.tar.gz"
|
||||||
'discord-launcher.sh'
|
'discord-launcher.sh'
|
||||||
'LICENSE.html::https://discord.com/terms'
|
'LICENSE.html::https://discord.com/terms'
|
||||||
'OSS-LICENSES.html::https://discord.com/licenses')
|
'OSS-LICENSES.html::https://discord.com/licenses')
|
||||||
sha512sums=('149ae5b8b7d92549e12eca52e45d3f5761ef022ae321cf33fadc3b56c4cee0616a5166380faea038256213713a7aa90e1befc4caa3e6a4de8e15c1cb1d8f925d'
|
sha512sums=('96c8486577bee7ae165bf96aab50c0733d83a2d9435357d9a4d9a3e9f3225ae6a7bf46e1a7d8b419ecc7ab4e270755332621a4f786ddb89a842379f5da40b271'
|
||||||
'93418d8e40cab7ed25f6debc341294f76f90a4f879e158cfea418360c8705347653f60dbd6f18fb754448d299404bfa247b07625ae113e9386188d9f9485a14b'
|
'6ca6dfbfb65bf4fec34aac4676f66bb602b5c4c3318fcc96236056d632c0c9af3c4eb775b491c2e722ed5de6a4c253677d6ee1a7be69e13045702fa3df8cf52f'
|
||||||
SKIP
|
SKIP
|
||||||
SKIP)
|
SKIP)
|
||||||
|
|
||||||
prepare() {
|
prepare() {
|
||||||
sed -i "s|@ELECTRON@|${_electron}|" discord-launcher.sh
|
sed -i "s|@PKGNAME@|${_pkgname}|;s|@ELECTRON@|${_electron}|" discord-launcher.sh
|
||||||
sed -i "s|Exec=.*|Exec=/usr/bin/$_pkgname|" Discord/discord.desktop
|
sed -i "s|Exec=.*|Exec=/usr/bin/$_pkgname|" Discord/discord.desktop
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
name=discord
|
name=@PKGNAME@
|
||||||
electron=@ELECTRON@
|
electron=@ELECTRON@
|
||||||
flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/${name}-flags.conf"
|
flags_file="${XDG_CONFIG_HOME:-$HOME/.config}/${name}-flags.conf"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue