aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/screenresolution.rb
diff options
context:
space:
mode:
authorJon Stacey2013-10-31 23:33:27 -0600
committerMike McQuaid2013-11-05 15:40:39 +0000
commite4064955ea9737030b084cefee7555a873886ba5 (patch)
tree93b02759f5451d2954154893950e038f8f96826e /Library/Formula/screenresolution.rb
parent6ab3c1e83093bf5d5f9fa492bdb834d1287409f8 (diff)
downloadhomebrew-e4064955ea9737030b084cefee7555a873886ba5.tar.bz2
screenresolution 1.6 (new formula)
A tool to change screen resolution. Closes #23852. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/screenresolution.rb')
-rw-r--r--Library/Formula/screenresolution.rb17
1 files changed, 17 insertions, 0 deletions
diff --git a/Library/Formula/screenresolution.rb b/Library/Formula/screenresolution.rb
new file mode 100644
index 000000000..24848e69f
--- /dev/null
+++ b/Library/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