7d679ac6fc
A tool to change screen resolution. Closes Homebrew/homebrew#23852. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
17 lines
459 B
Ruby
17 lines
459 B
Ruby
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
|