[aur-general] Deletion of discord-updater{,-canary}?

Morgan Adamiec morganamilo at gmail.com
Thu May 10 14:31:56 UTC 2018

On 10 May 2018 at 15:20, Jeremy Audet <ichimonji10 at gmail.com> wrote:
>> Adding a pkgver() to Discord in a clean way is proving to be quite
> annoying.
>> Adding this to the source=()
>> 'https://discordapp.com/api/download/canary?platform=linux&format=tar.gz'
>> causes makepkg to download a file named
> 'canary?platform=linux&format=tar.gz'
>> even though the download output from curl correctly manages the redirect
> and
>> displays "Downloading discord-canary-0.0.49.tar.gz"
>  From PKGBUILD(5):
>> It is also possible to change the name of the downloaded file, which is
>> helpful with weird URLs and for handling multiple source files with the
> same
>> name. The syntax is: source=('filename::url').
> Possibly helpful?

The pkgver() function is ran after the sources are downloaded. So
doing source=('$pkgname-$pkgver::url') will not work. Thanks though.

More information about the aur-general mailing list