So, This worked for me: -download aakar fonts manually -upload it to googledrive and get link -change the url in PKGBUILD -run makepkg, will end with error of not validating but will copy the aakar.zip in folder where pkgbuild is. -generate sha256sum and paste into pkgbuild -run makepkg again and you are done.
Search Criteria
Package Details: ttf-devanagarifonts 1.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/ttf-devanagarifonts.git (read-only, click to copy) |
---|---|
Package Base: | ttf-devanagarifonts |
Description: | 283 fonts from devanagarifonts.net |
Upstream URL: | https://devanagarifonts.net |
Submitter: | Andy_Crowd |
Maintainer: | alerque |
Last Packager: | alerque |
Votes: | 7 |
Popularity: | 0.000000 |
First Submitted: | 2014-09-07 14:21 (UTC) |
Last Updated: | 2020-09-11 11:00 (UTC) |
wiseprofessor commented on 2023-04-22 05:47 (UTC)
zoorat commented on 2021-11-25 03:27 (UTC)
@alerque what about reupload in github ?? no one cares about where the file is getting downloaded ?? and isnt working package better than not working package ??
https://wiki.archlinux.org/title/Font_package_guidelines#Source
alerque commented on 2021-11-24 19:03 (UTC)
@zoorat Please see previous comments, there are known issues with the download(s) in this package. I'm happy to fix it if anybody finds an alternative (that doesn't involve hacking their own browser session into a CURL request). Just re-pointing out the same problem doesn't help much.
zoorat commented on 2021-11-24 17:46 (UTC)
is there any alternative source ??
==> ERROR: Failure while downloading https://devanagarifonts.net/fonts/aakar-regular.zip
Aborting...
ishanjain commented on 2021-01-21 06:41 (UTC)
I have been able to make it work with this,
DLAGENTS=("https::/usr/bin/curl -b '__cfduid=db393f5640a42541d09fb496e44eb58dd1611209318;\ csrftoken=4ea5c8xVjINrZG36JaFXre8gHL845obvuIwZgUfY8t9kcFT63CPamDgpYokMzQlJ;\ sessionid=lax0bk5w8xgc0wsu1ktpr8xhzk2uz01o' -A Mozilla/5.0\ (Windows\ NT\ 10.0\;\ rv\:78.0)\ Gecko/20100101\ Firefox/78.0 -fC - -o %o %u")
I opened the url once in a browser and copied the cookie set by the server. Then, I set this cookie in each request. Make sure to properly escape the spaces in the cookie.
And just Mozilla
for the UA header didn't seem to work so I also copied UA header from my browser. Again, Properly escaped and then it just worked. :)
It's not a good general solution for this but it might be helpful in case someone just needs to install this package.
alerque commented on 2020-09-11 11:04 (UTC)
@librewish Did you want to help maintain this? I'd be happy to add you ... especially if you know of a working download URL / Curl command combo that works.
alerque commented on 2020-09-11 11:03 (UTC)
@vishvas Those fonts are from a different source and should be placed in a different package.
alerque commented on 2020-09-11 11:02 (UTC)
Besides all the downloads having moved to a different filename scheme, the upstream is aggressively blocking non-browser downloads. If anybody knows how to make a curl work for these files let me know and I'll get it setup here. Note for example the one source currently listed works fine from a browser but not from curl.
vishvas commented on 2018-09-14 19:22 (UTC)
Also, there seems to be an error: curl: (22) The requested URL returned error: 404 ==> ERROR: Failure while downloading http://www.devanagarifonts.net/fonts/download/Aakar-Regular.zip Aborting... ==> ERROR: Makepkg was unable to build ttf-devanagarifonts. ==> Restart building ttf-devanagarifonts ? [y/N] ==> --------------------------------------------
Pinned Comments
alerque commented on 2020-09-11 11:02 (UTC)
Besides all the downloads having moved to a different filename scheme, the upstream is aggressively blocking non-browser downloads. If anybody knows how to make a curl work for these files let me know and I'll get it setup here. Note for example the one source currently listed works fine from a browser but not from curl.