Skip to content

Instantly share code, notes, and snippets.

@norisu0313
Forked from yoppi/ricty_installer.sh
Last active December 12, 2015 02:08
Show Gist options
  • Save norisu0313/4696276 to your computer and use it in GitHub Desktop.
Save norisu0313/4696276 to your computer and use it in GitHub Desktop.
wget を homebrew で取得して最後に 落としてきたファイルを削除するようにしました
#!/bin/sh
#
# Ricty Installer for Mac OS X
#
# require: Homebrew, git
#
FONT_DIR=~/Library/Fonts
brew update
brew install wget
# Migu1M フォントをインストール
wget 'http://sourceforge.jp/frs/redir.php?m=iij&f=%2Fmix-mplus-ipa%2F57240%2Fmigu-1m-20121030.zip' -O migu-1m-20121030.zip
unzip migu-1m-20121030.zip
cp migu-1m-20121030/*.ttf $FONT_DIR
# Inconsolata フォントをインストール
wget http://levien.com/type/myfonts/Inconsolata.otf
cp Inconsolata.otf $FONT_DIR
# Homebrew経由で fontfoge をインストール
brew install fontforge
# Ricty をビルド
git clone https://github.com/yascentur/Ricty.git
cd Ricty
sh ricty_generator.sh auto
cp *.ttf $FONT_DIR
rm -rf migu-lm-20121030.zip
rm -rf migu-lm-20121030
rm -rf Inconsolata.otf
rm -rf Ricty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment