discord-ptb: update to 0.0.27.
- Added and tested 'update' file based on package 'discord'
This commit is contained in:
parent
2ae04b3a3c
commit
b363e25fef
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'discord-ptb'
|
||||
pkgname=discord-ptb
|
||||
version=0.0.26
|
||||
version=0.0.27
|
||||
revision=1
|
||||
archs="x86_64"
|
||||
wrksrc="DiscordPTB"
|
||||
|
@ -12,7 +12,7 @@ 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=04b33c73a4d55c476c8332bd86e50add6d984c965f0d4b5b759ccb0ebd3992e6
|
||||
checksum=0bef5643b57ec9ee42f5d107565e13a0ea83e1b26011e1cd5520fbcb8bd1f07a
|
||||
_license_checksum=03580ea1297c38f31c4437555f2dbf9dae25a91c9e61391d7141cf8cc036aeff
|
||||
nopie=yes
|
||||
restricted=yes
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
# sample response: {"name": "0.0.11", "pub_date": "2020-08-06T16:59:21"}
|
||||
site="https://discordapp.com/api/updates/ptb?platform=linux"
|
||||
pattern="\"name\":\s*\"\K[\d.]+(?=\")"
|
Loading…
Reference in New Issue