Package Details: ttf-mac-fonts 20100901.134-1

Git Clone URL: (read-only, click to copy)
Package Base: ttf-mac-fonts
Description: Mac fonts including Lucida Grande, Apple Garamond and other fonts from Apple
Upstream URL:
Licenses: custom
Conflicts: macfonts
Submitter: Shanto
Maintainer: alerque
Last Packager: alerque
Votes: 329
Popularity: 2.00
First Submitted: 2011-05-08 09:00 (UTC)
Last Updated: 2019-08-26 05:34 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

abdulhakeem commented on 2022-03-31 12:39 (UTC)

I get this error when trying to install with yay:

install: cannot stat 'gbk/*.ttf': No such file or directory

Package fails to install

alerque commented on 2021-08-29 05:56 (UTC)

@Enzo et all, this package is not out of date, it installs the latest version available upstream. In fact it's setup to check whatever than version is and update itself at build time if there are any changes. I just checked and it is fully up to date and installs what it says it does.

Feakster commented on 2020-11-13 09:25 (UTC)

Didn't know they had a package on here already. Thanks.

alerque commented on 2020-11-13 09:20 (UTC)

@Feakster That script is a whole lot of hoopla for less than nothing. Those other fonts don't belong in this package since they come from different sources, are versioned and released on a different cycle, and don't even have the same license. If you want them, install them from their respective packages: otf-new-york and otf-san-francisco-pro.

Feakster commented on 2020-11-12 20:06 (UTC)

@caleb, the New York & San Francisco fonts can be obtained from I don't believe any login is required. I was going to adapt the script (below) into a new PKGBUILD, but you're more than welcome to cannibalise it for yours if you wish:

# Set Variables
FONTS="SF-Font-Compact SF-Font-Pro SF-Mono NY-Font"
declare -a PKGS=("San Francisco Compact" "San Francisco Pro" "SF Mono Fonts" "NY Fonts")

# available() function
available () {
  command -v "$1" >/dev/null 2>&1

# If wget not installed
echo 'Checking dependencies ...'
if ! available wget
  echo 'Error: wget is not installed.' >&2
  echo 'run sudo pacman -S wget'
  exit 1

# If 7zip not installed
if ! available 7z
    echo 'Error: p7zip is not installed.' >&2
    echo 'run sudo pacman -S p7zip'
    exit 1

# Download & unarchive macOS NY & SF fonts
echo 'Downloading and unarchiving dmg files ...'
mkdir -p "$DOWNDIR"
for FONT in $FONTS
    wget -nc -nv --show-progress $URL/$FONT.dmg
    7z -y e $FONT.dmg >/dev/null 2>&1
    rm -rf $FONT.dmg "[HFS+ Private Data]"

# Extracting pkg archives
echo 'Extracting fonts ...'
for PKG in "${PKGS[@]}"
    #PKG=$(echo $PKG | tr "_" " ")
    echo -e "\t$PKG.pkg"
    7z -y x "$PKG.pkg" >/dev/null 2>&1
    CRUD=$(echo $PKG | tr -d " ")
    7z -y x Payload\~ >/dev/null 2>&1
    mv Library/Fonts ./
    mv Fonts "$PKG"
    rm -rf "$PKG.pkg" $CRUD Payload\~ Library

# Install Fonts
echo "Installing fonts ..."
mkdir -p "$FONTDIR"
for PKG in "${PKGS[@]}"
    DIR=$(echo $PKG | tr -d " ")
    mv "$PKG" "$FONTDIR/$DIR"

# Tidy up
rm -rf "$DOWNDIR"

# Reload Font Cache

juxuanu commented on 2020-10-22 08:08 (UTC)

Same issue than @roachsinai

dakataca commented on 2019-06-17 17:18 (UTC)

When I consult the remote package version I get "20100901.134", but when I consult the local version of the package I get only one point ".". I hope you solve that soon to be able to control the local versions. Thanks in advance.

roachsinai commented on 2018-07-17 07:54 (UTC) (edited on 2018-07-17 07:54 (UTC) by roachsinai)

same issue:

(1/3) Updating fontconfig cache...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Updating X fontdir indices...
Unknown Type 1 weight "normal"
Couldn't determine weight for Lucida Gr Regular.pfb
Unknown Type 1 weight "normal"
Couldn't determine weight for Lucida G.pfb

my OS is Manjaro, and what do you mean: custom fontconfig configuration

r3b311i0n commented on 2018-03-02 10:52 (UTC)

@caleb This PKGBUILD contains San Francisco:

as does this one:

alerque commented on 2018-03-02 08:54 (UTC)

@Pilzbauer Adding a font will be up to the upstream Macbuntu project, this just repackages what is available in their repos. Alternatively if you know a good upstream source for it available without signing into Apple's developer website then we could consider splicing it in, but I don't know of a source.

alerque commented on 2018-03-02 08:49 (UTC)

To out of date flaggers: this package is not out of date. It builds off of the latest SVN revision anyway (and should probably be renamed ttf-mac-fonts-svn) but it isn't out of date. If you're having trouble building because the upstream is offline, know that SourceFource is having a massive outage right now and most of the repositories hosted there are offline. That's not this package's problem to fix and we'll just have to wait it out.

J5lx commented on 2017-03-10 00:10 (UTC)

As Marcel_K mentioned, the fontconfig cache is now updated automatically by pacman hooks, so the install file can be removed.

Pilzbauer commented on 2017-01-29 18:29 (UTC)

Could you please add Apples 'new' San Francisco font? Thank you!

jnbek commented on 2017-01-21 18:23 (UTC)

@mrlamud: I am unable to replicate that issue, can you try removing any custom fontconfig configuration to see if this helps correct the problem? @CanalGuada, done, sorry about that. @Marcel_K, my toughest customer, ;-) is that better? :D

mrlamud commented on 2017-01-19 05:54 (UTC) (edited on 2017-01-19 05:55 (UTC) by mrlamud)

Post-transaction hooks report some erros. :: Running post-transaction hooks... (1/3) Updating fontconfig cache... (2/3) Updating 32-bit fontconfig cache... (3/3) Updating X fontdir indices... Unknown Type 1 weight "normal" Couldn't determine weight for Lucida G.pfb Unknown Type 1 weight "normal" Couldn't determine weight for Lucida Gr Regular.pfb

CanalGuada commented on 2017-01-19 02:38 (UTC)

Awk command in pkgver() function returns some garbage value if not using an english locale. For instance with a french one : $ svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}' dernière. Prepending LC_ALL=C : $ LC_ALL=C svn info | awk '/Revision/{r=$2}/Date/{gsub(/-/,"");d=$4}END{print d"."r}' 20100901.134

Marcel_K commented on 2017-01-18 23:47 (UTC)

Much better now, only not all instances of $srcdir and $pkgdir are enclosed within double quotes, which is necessary per spec to allow AUR users to have directories containing spaces.

Marcel_K commented on 2016-11-30 23:09 (UTC)

A year and a half ago I asked: "Why not let makepkg do the checkout of the Subversion repository?" You still do this manually. Moreover, you do not enclose instances of $srcdir and $pkgdir within double quotes. Those are at least the things that should be fixed. And since the appearance of hooks in pacman, you don't need the install file anymore, which is not complete anyway.

jnbek commented on 2016-11-30 17:04 (UTC)

@Scimmia, it's not working still? all seems ok over here... o_O

Scimmia commented on 2016-11-26 00:00 (UTC)

jnbek, things have been settled a long time, this PKGBUILD really, really needs fixed.

jnbek commented on 2015-07-16 20:45 (UTC)

Sourceforge is reporting: The website is temporarily in static offline mode. Only a very limited set of project pages are available until the main website returns to service. this is an upstream problem that will resolve itself eventually.

GAumala commented on 2015-07-16 19:59 (UTC)

Can't make package svn: E000111: Unable to connect to a repository at URL ''

jnbek commented on 2015-06-18 00:20 (UTC)

@Marcel_K, I'll take care of it once things are better settled with the aur4 migration.

Marcel_K commented on 2015-06-17 22:09 (UTC)

Why not let makepkg do the checkout of the Subversion repository?

Shanto commented on 2013-08-21 20:08 (UTC) changed its SVN server's URL layout. Fixed and updated.

commented on 2013-08-21 13:31 (UTC)

The below error is due to the wrong source path provided to the install commands. This can be patched by simply prepending "Macbuntu/fonts/" to the three font paths. However, this pkgbuild needs other revision. This draws on svn sources, so it should be named ttf-mac-fonts-svn. Since makepkg 4.0, makepkg will handle downloading the svn source. And the other source (license) should always have been handled by makepkg rather than using wget in a package function. A revised PKGBUILD that addresses these issues can be found here:

commented on 2013-08-21 12:06 (UTC)

Hello, I've problems with this package: ... ... ... A Macbuntu-10.04/panel/panel.entries A Macbuntu-10.04/ A Macbuntu-10.04/compiz A Macbuntu-10.04/compiz/x64 A Macbuntu-10.04/compiz/x64/original A Macbuntu-10.04/compiz/x64/original/ A Macbuntu-10.04/compiz/x64/original/libanimation.a A Macbuntu-10.04/compiz/x64/original/ A Macbuntu-10.04/compiz/x64/original/animation.xml A Macbuntu-10.04/compiz/x64/libanimation.a A Macbuntu-10.04/compiz/x64/ A Macbuntu-10.04/compiz/x64/animation.xml A Macbuntu-10.04/compiz/x32 A Macbuntu-10.04/compiz/x32/original A Macbuntu-10.04/compiz/x32/original/ A Macbuntu-10.04/compiz/x32/original/libanimation.a A Macbuntu-10.04/compiz/x32/original/ A Macbuntu-10.04/compiz/x32/original/animation.xml A Macbuntu-10.04/compiz/x32/libanimation.a A Macbuntu-10.04/compiz/x32/ A Macbuntu-10.04/compiz/x32/animation.xml A Macbuntu-10.04/ A Macbuntu-10.04/readme Checked out revision 134. install: cannot stat 'gbk/*.ttf': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... ==> ERROR: Makepkg was unable to build ttf-mac-fonts. ==> Restart building ttf-mac-fonts ? [y/N] How can I solve this?. Regards.

viniavila commented on 2013-04-24 13:35 (UTC)

My files: PKGBUILD: #Base: macfonts #Fixes: #Maintainer: Shanto (at #Contributor: Erus <> pkgname=ttf-mac-fonts pkgver=1 pkgrel=6 pkgdesc="Mac fonts including Lucida Grande, Apple Garamond and other fonts from Apple" arch=('any') url="" license=('custom') depends=() makedepends=('subversion' 'wget') conflicts=('macfonts') source=() md5sums=() install='macfonts.install' package() { cd $srcdir svn co ./ install -d $pkgdir/usr/share/fonts/{TTF,Type1} install -m644 gbk/*.ttf $pkgdir/usr/share/fonts/TTF install -m644 mac/*.ttf $pkgdir/usr/share/fonts/TTF install -m644 mac/*.pfb $pkgdir/usr/share/fonts/Type1 wget install -d $pkgdir/usr/share/licenses/$pkgname install -m644 SafariWindows.pdf $pkgdir/usr/share/licenses/$pkgname/ } macfonts.install: post_install() { fc-cache -vf } post_remove() { fc-cache -vf }

viniavila commented on 2013-04-24 13:27 (UTC)

@bluerider, the command "fc-cache -vf" needs to be in the .install file, and this have to be added together this PKGBUILD because it doesn't need to be called after building/packaging the package, but only during installing/uninstalling... The correct is create a .install file (/usr/share/pacmam/proto.install has a model) and put the fc-cache -vf inside the funcions post_install and post_remove... I'm not sure but I think it's necessary add execute permission to .install after create it and before package with makepkg --source. Don't forget to add this line --> install='xxxx.install' to the PKGBUILD

bluerider commented on 2013-04-23 16:49 (UTC)

Please modify the package build to use "install -m644" for all font files and the license (so the fonts are not executable). In addition please add "fc-cache -vf" after installation of fonts to update the font cache.

roukoswarf commented on 2013-04-15 03:15 (UTC)

Please remove depreciated functions from PKGBUILD and use package(), would not want this package to break.

scor commented on 2013-02-15 13:20 (UTC)

Getting error in build()

commented on 2011-06-13 01:27 (UTC)

SourceForge SVN seems to be down now too.

Shanto commented on 2011-05-25 21:52 (UTC)

Updated package with links to SourceForge SVN.

Shanto commented on 2011-05-17 18:59 (UTC)

Seems to be down for me too. Get it from for now. I will also see if I can manage to have this PKGBUILD download from one of the official channels.

commented on 2011-05-17 12:06 (UTC)

I can't connect to and the site seems down.Anyone else having this problem ?

commented on 2011-05-15 23:20 (UTC)

thanks! works great.