Last active
January 19, 2016 15:05
-
-
Save maisieccino/42b12dd216e9d2bb7c47 to your computer and use it in GitHub Desktop.
ttf-sanfrancisco
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=ttf-sanfrancisco | |
pkgver=1.0 | |
pkgrel=1 | |
pkgdesc="San Francisco, the system font for OSX, iOS, watchOS and tvOS." | |
arch=(any) | |
depends=(fontconfig xorg-font-utils) | |
source=() | |
install=$pkgname.install | |
package() { | |
cd $srcdir | |
find -delete | |
curl -LsH 'Accept-encoding: gzip' https://api.github.com/repos/supermarin/YosemiteSanFranciscoFont/tarball | tar -xz | |
cp -R */* ./ | |
rm -Rf supermarin-* | |
install -d $pkgdir/usr/share/fonts/TTF | |
install -Dm644 System\ San*.ttf $pkgdir/usr/share/fonts/TTF | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
post_install() { | |
fc-cache -s | |
} | |
post_upgrade() { | |
post_install | |
} | |
post_remove() { | |
post_install | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment