[Slackbuilds-users] Indirect download links in *.info

Willy Sudiarto Raharjo willysr at slackbuilds.org
Fri Jan 2 06:46:53 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> I would like to create slackbuilds for some Google TTF fonts and I
> have a problem with the .info file.
> 
> For example, the `Open Sans` font collection is nowhere available 
> for direct download, it's distributed by Google and the Google 
> download link is the following:
> 
> http://www.google.com/fonts/download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ
>
>  Downloading this with `wget` requires the flag
> "--content-disposition" to be set and then everything works fine -
> the link is being downloaded to `Open_Sans.zip`, otherwise we end
> up with a 
> "download?kit=3hvsV99qyKCBS55e5pvb3ltkqrIMaAZWyLYEoB48lSQ" file.
> 
> This case "breaks" the default `sbopkg` configuration, because 
> WGETFLAGS does not contain "--content-disposition" by default.
> 
> 
> My question is what to do in cases like this (indirect download
> links)?

i have uploaded the source in this URL
https://sourceforge.net/projects/slackbuildsdirectlinks/files/OpenSans/

it will take some time to propagate, though


- -- 
Willy Sudiarto Raharjo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlSmPt0ACgkQiHuDdNczM4E8mwCeNXCoSpJ9nC7aeS+jyb18jiwh
yGkAn0Uklbms5ZE/pFy4Zl8KvqjX8dds
=ZBvT
-----END PGP SIGNATURE-----


More information about the SlackBuilds-users mailing list