[Slackbuilds-users] DOWNLOAD advice for github
Andrzej Telszewski
atelszewski at gmail.com
Mon May 16 14:57:37 UTC 2016
On 16/05/16 16:51, Philip Lacroix wrote:
> Am 14.05.2016 18:35 schrieb David Spencer:
>> So, here's the new advice: Heinz has worked out that if we use (for
>> example)
>>
>> DOWNLOAD="https://github.com/trizen/clyrics/archive/0.04/clyrics-0.04.tar.gz"
>>
>>
>> then the archive will *always* be named clyrics-0.04.tar.gz, even if
>> we use wget or curl, and so we can just do the usual tar command in
>> the SlackBuild
>
> Thanks!
>
> It might be worth to mention that this works also with commit-specific
> downloads
> (useful when there are no actual releases). For example:
>
> https://github.com/unicap/ucview/archive/29bd93aeef0573c58c9aee665dc43fdfd1f77a1f/ucview-29bd93aeef0573c58c9aee665dc43fdfd1f77a1f.tar.gz
>
I was also looking at it, but I would prefer something like:
https://github.com/unicap/ucview/archive/29bd93aeef0573c58c9aee665dc43fdfd1f77a1f/ucview-git_%DATE_%HEAD.tar.gz
but couldn't find anything that would work in this manner.
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
--
Best regards,
Andrzej Telszewski
More information about the SlackBuilds-users
mailing list