Package Details: ttf-rubik-vf 2.3.0-3

Git Clone URL: https://aur.archlinux.org/ttf-rubik-vf.git (read-only, click to copy)
Package Base: ttf-rubik-vf
Description: A sans serif font family with slightly rounded corners: variable font version
Upstream URL: https://github.com/googlefonts/rubik
Licenses: OFL
Submitter: haxibami
Maintainer: haxibami
Last Packager: haxibami
Votes: 2
Popularity: 0.47
First Submitted: 2023-07-27 10:18 (UTC)
Last Updated: 2024-10-13 07:40 (UTC)

Latest Comments

tahadnan commented on 2024-10-08 15:31 (UTC)

PKGBUILD update needed for ttf-rubik-vf - URL encoding issue

Dear maintainer,

I hope this message finds you well. I recently encountered an issue while trying to install the ttf-rubik-vf package from the AUR. The problem was related to URL encoding in the source URLs. I've managed to resolve the issue and wanted to share the solution with you so that it can be incorporated into the official PKGBUILD.

Issue: The current PKGBUILD fails to download the font files due to improper URL encoding of square brackets in the file names.

Solution: The square brackets in the URLs need to be percent-encoded (%5B for [ and %5D for ]).

Here are the specific changes needed in the PKGBUILD:

  1. In the source array, update the following lines:
  2. From: "${url}/raw/${_commit}/fonts/variable/Rubik[wght].ttf"
  3. To: "${url}/raw/${_commit}/fonts/variable/Rubik%5Bwght%5D.ttf"

  4. From: "${url}/raw/${_commit}/fonts/variable/Rubik-Italic[wght].ttf"

  5. To: "${url}/raw/${_commit}/fonts/variable/Rubik-Italic%5Bwght%5D.ttf"

  6. There's also a minor typo in the _commit variable declaration (it's currently *commit). This should be corrected to _commit.

After making these changes, the package builds and installs successfully.

I've verified that these modifications resolve the download issues. If you'd like, I can submit a pull request with these changes.

Thank you for maintaining this package and for your attention to this matter.

Best regards, TYA