Created
August 23, 2011 05:15
-
-
Save st63jun/1164394 to your computer and use it in GitHub Desktop.
Homebrew formula: nyan-mode.el
This file contains hidden or 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
require 'formula' | |
class NyanMode < Formula | |
head 'https://github.com/TeMPOraL/nyan-mode.git' | |
homepage 'http://nyan-mode.buildsomethingamazing.com/' | |
def install | |
mkdir_p "#{prefix}" | |
cp "nyan-mode.el", "#{prefix}" | |
cp_r "img/", "#{prefix}" | |
ln_s "#{prefix}", "#{HOMEBREW_PREFIX}/share/emacs/site-lisp/#{name}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment