discord-ptb: update to 0.0.30.

This commit is contained in:
0x5c 2022-05-27 21:25:39 -04:00 committed by Andrew Benson
parent 53ba207878
commit ead6d8830d

View file

@ -1,6 +1,6 @@
# Template file for 'discord-ptb'
pkgname=discord-ptb
version=0.0.29
version=0.0.30
revision=1
archs="x86_64"
wrksrc="DiscordPTB"
@ -12,8 +12,8 @@ maintainer="0x5c <dev@0x5c.io>"
license="custom:Proprietary"
homepage="https://discord.com/"
distfiles="https://dl-ptb.discordapp.net/apps/linux/${version}/discord-ptb-${version}.tar.gz"
checksum=77bf0d9d06773242e37bc987ac8ea7a07da20f6a04bd22777039ec9b342c5187
_license_checksum=03580ea1297c38f31c4437555f2dbf9dae25a91c9e61391d7141cf8cc036aeff
checksum=7333a5e3d176b20da0e7da739877bd1d8f3d3a6aad71efe5f954ec90ff534db5
_license_checksum=41fe9e5a91c8f0af3a0a3833a0badf0ace75f1c4097889fafc0a029c68b96fcd
nopie=yes
restricted=yes
repository=nonfree
@ -21,7 +21,7 @@ repository=nonfree
post_extract() {
$XBPS_FETCH_CMD -o eula https://discord.com/terms; cat eula |
w3m -dump -I utf-8 -T text/html |
sed -n '/Discord Terms of Service/,/^Imagine a place$/p' > EULA
sed -n '/Discord.s Terms of Service/,/^Imagine a place$/p' > EULA
filesum="$(xbps-digest EULA)"
if [ "$filesum" != "$_license_checksum" ]; then