Updated to use version from pkgver

Signed-off-by: Anthony Anderson <lordillyohs@gmail.com>
This commit is contained in:
Anthony Anderson 2016-04-20 17:52:19 -04:00 committed by Cayde Dixon
parent 78630321ba
commit 3b71e10cb7
3 changed files with 6 additions and 5 deletions

View file

@ -1,7 +1,7 @@
pkgbase = discord-canary
pkgdesc = Discord Canary linux release
pkgver = 0.0.3
pkgrel = 9
pkgrel = 10
url = https://discordapp.com/
arch = x86_64
license = custom
@ -16,7 +16,7 @@ pkgbase = discord-canary
sha256sums = 04120aec68647be5de5689ead51ba3fc976ada3cf6616144b97d2b75e0782eae
sha256sums = 688f418cd32a682c6d331c211fedd48ff86ee8ba5a7640f589eadb32996af80f
sha256sums = 912cb31b21023980614437b859bb11f39697108c0e9ca21778f81da8065a0815
source_x86_64 = canary_latest.tar.gz::https://discordapp.com/api/download/canary?platform=linux&format=tar.gz
source_x86_64 = https://cdn-canary.discordapp.com/apps/linux/0.0.3/discord-canary-0.0.3.tar.gz
sha256sums_x86_64 = 8a9d20778ff5b0ffd25b31b364528db8b567ad0a1d13d6161e289ccea6b335cc
pkgname = discord-canary

3
.gitignore vendored
View file

@ -1,3 +1,4 @@
src/
pkg/
canary_latest.tar.gz
*.gz
*.xz

View file

@ -2,7 +2,7 @@
pkgname=discord-canary
pkgver=0.0.3
pkgrel=9
pkgrel=10
pkgdesc='Discord Canary linux release'
arch=('x86_64')
url='https://discordapp.com/'
@ -12,7 +12,7 @@ depends=('gtk2' 'gconf' 'libnotify')
optdepends=('freetype2-infinality: If you have black screens with emojis install this.')
source=(DiscordCanary.desktop LICENSE DiscordCanary.sh)
source_x86_64=("canary_latest.tar.gz::https://discordapp.com/api/download/canary?platform=linux&format=tar.gz") #This is always latest build, right now I do not know of a version param.
source_x86_64=("https://cdn-canary.discordapp.com/apps/linux/${pkgver}/discord-canary-${pkgver}.tar.gz") #This is always latest build, right now I do not know of a version param.
sha256sums=('04120aec68647be5de5689ead51ba3fc976ada3cf6616144b97d2b75e0782eae'
'688f418cd32a682c6d331c211fedd48ff86ee8ba5a7640f589eadb32996af80f'
'912cb31b21023980614437b859bb11f39697108c0e9ca21778f81da8065a0815')