Skip to content

Instantly share code, notes, and snippets.

@rdsubhas
Created August 10, 2015 13:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdsubhas/6a1b30e9ef3856f009b7 to your computer and use it in GitHub Desktop.
Save rdsubhas/6a1b30e9ef3856f009b7 to your computer and use it in GitHub Desktop.
homebrew pngout
require 'formula'
class Pngout < Formula
url 'http://static.jonof.id.au/dl/kenutils/pngout-20150319-darwin.tar.gz'
homepage 'http://www.jonof.id.au/kenutils'
sha256 'ff7905970457ee5c96776b94e0bf8a22b41fe05fc0cededb16da1c2c0aa5c65d'
version '20150319'
def install
prefix.install Dir['*']
File.symlink(prefix+'pngout', '/usr/local/bin/pngout')
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment