From 7d679ac6fc916405e74424023cdab4298d59243c Mon Sep 17 00:00:00 2001 From: Jon Stacey Date: Thu, 31 Oct 2013 23:33:27 -0600 Subject: [PATCH] screenresolution 1.6 (new formula) A tool to change screen resolution. Closes Homebrew/homebrew#23852. Signed-off-by: Mike McQuaid --- Formula/screenresolution.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Formula/screenresolution.rb diff --git a/Formula/screenresolution.rb b/Formula/screenresolution.rb new file mode 100644 index 0000000000..24848e69fa --- /dev/null +++ b/Formula/screenresolution.rb @@ -0,0 +1,17 @@ +require 'formula' + +class Screenresolution < Formula + homepage 'https://github.com/jhford/screenresolution' + url 'https://github.com/jhford/screenresolution/archive/v1.6.tar.gz' + sha1 '5a4c397711c0cadb3cf58e8eb13dff50b993b388' + head 'https://github.com/jhford/screenresolution.git', :branch => "master" + + def install + system "make" + system "make", "PREFIX=#{prefix}", "install" + end + + test do + system "#{bin}/screenresolution", 'get' + end +end