Should this provide ttf-font?
Search Criteria
Package Details: apple-fonts 1.0.3-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/apple-fonts.git (read-only, click to copy) |
---|---|
Package Base: | apple-fonts |
Description: | Apple San Francisco, New York fonts, directly from Apple official source |
Upstream URL: | https://developer.apple.com/fonts/ |
Submitter: | ilbuonmarcio |
Maintainer: | ilbuonmarcio |
Last Packager: | ilbuonmarcio |
Votes: | 27 |
Popularity: | 0.63 |
First Submitted: | 2021-03-13 19:14 (UTC) |
Last Updated: | 2022-06-03 10:35 (UTC) |
Dependencies (2)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR) (make)
- p7zip (p7zip-natspecAUR, p7zip-full-binAUR, 7-zip-fullAUR) (make)
Required by (0)
Sources (0)
aliu commented on 2023-10-08 16:18 (UTC)
ilbuonmarcio commented on 2023-01-09 20:09 (UTC)
@jvybihal suggest a PKGBUILD patch and I'll have a look!
jvybihal commented on 2022-10-31 08:39 (UTC)
Just a thought, but there is too much packages with apple fonts all over the aur. (mis)labeled and/or sourced from whatever.
This package apple-fonts
is the one I decided to use. It installs what I expect and works. But it would make much more sense, if this was just a meta package and pulls each font package in the "depends".
Or... if it itself wants to installs the fonts, it should definitely include properly defined provides
and conflicts
.
Also it does NOT check checksums of what it downloads and does download stuff in the package()
, which, as I understand, is really not a good thing (build should be reproducible offline). This is not how PKGBUILDs should be written.
Thoughts?
ilbuonmarcio commented on 2022-06-22 10:09 (UTC)
Builds correctly for me with makepkg -si
, unflagged as out-of-date
ilbuonmarcio commented on 2021-11-14 17:51 (UTC)
Thanks @jkilp, should be all good now!
jkilp commented on 2021-11-12 17:19 (UTC) (edited on 2021-11-12 17:29 (UTC) by jkilp)
@ilbuonmarcio
Had a look and it seems they've changed the naming of SFPro and SFCompact, this worked:
mkdir $pkgdir/fontfiles/
curl -O https://devimages-cdn.apple.com/design/resources/download/SF-Pro.dmg
7z x SF-Pro.dmg
cd SFProFonts
7z x 'SF Pro Fonts.pkg'
7z x 'Payload~'
mv Library/Fonts/* $pkgdir/fontfiles
cd ..
curl -O https://devimages-cdn.apple.com/design/resources/download/SF-Compact.dmg
7z x SF-Compact.dmg
cd SFCompactFonts
7z x 'SF Compact Fonts.pkg'
7z x 'Payload~'
mv Library/Fonts/* $pkgdir/fontfiles
cd ..
curl -O https://devimages-cdn.apple.com/design/resources/download/SF-Mono.dmg
7z x SF-Mono.dmg
cd SFMonoFonts
7z x 'SF Mono Fonts.pkg'
7z x 'Payload~'
mv Library/Fonts/* $pkgdir/fontfiles
cd ..
curl -O https://devimages-cdn.apple.com/design/resources/download/NY.dmg
7z x NY.dmg
cd NYFonts
7z x 'NY Fonts.pkg'
7z x 'Payload~'
mv Library/Fonts/* $pkgdir/fontfiles
cd ..
rm -r *.dmg NYFonts SFCompactFonts SFProFonts SFMonoFonts
mkdir -p $pkgdir/usr/share/fonts/OTF $pkgdir/usr/share/fonts/TTF
mv $pkgdir/fontfiles/*.otf $pkgdir/usr/share/fonts/OTF
mv $pkgdir/fontfiles/*.ttf $pkgdir/usr/share/fonts/TTF
rm -rf $pkgdir/fontfiles
ilbuonmarcio commented on 2021-11-12 16:57 (UTC)
@jkilp it can be that some files and directories of downloaded zipfiles are changed from before. Can you spot what changed? I'm currently unable to fix the issue at this point in time.
jkilp commented on 2021-11-12 16:54 (UTC)
Seems like this is broken, I'm getting:
PKGBUILD: line 18: cd: SanFranciscoPro: No such file or directory
Pinned Comments
ilbuonmarcio commented on 2021-07-02 18:48 (UTC)
Fixed, it was a file name change from their side!