[Slackbuilds-users] Updates - 20170624.1

Andrzej Telszewski atelszewski at gmail.com
Fri Jun 30 13:25:10 UTC 2017


On 25/06/17 02:23, Willy Sudiarto Raharjo wrote:
>>> network/youtube-dl: Updated for version 2017.06.18.
>>
>> This fails for me because our beloved github returns source tarball
>> without underscore when going to
>> https://github.com/rg3/youtube-dl/archive/2017.06.18/youtube_dl-2017.06.18.tar.gz
>>
>>
>> i.e. tarball name is "youtube-dl-2017.06.18.tar.gz" and not
>> "youtube_dl-2017.06.18.tar.gz"
> 
> i just tried to build i t manually and it does build fine
> if you look at the SlackBuild, there's a different naming for the source
> 
> PRGNAM=youtube-dl
> SRCNAM=$(echo $PRGNAM | tr - _)
> .
> .
> tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
> 
> 

Aha, I finally managed to understand the problem ;-)

If the file is saved as "youtube-dl-2017.06.18.tar.gz", which is my 
case, then:
SRCNAM=$(echo $PRGNAM | tr - _)

will make the SRCNAM to be "youtube_dl", but the file in the 
*filesystem* is still named "youtube-dl".

(Bcc'd maintainer).

-- 
Best regards,
Andrzej Telszewski


More information about the SlackBuilds-users mailing list