Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e9deac
commit fa1f2c2
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
class Xclip < Formula | ||
desc "Command-line utility that is designed to run on any system with an X11" | ||
homepage "https://github.com/astrand/xclip" | ||
url "https://downloads.sourceforge.net/project/xclip/xclip/0.12/xclip-0.12.tar.gz" | ||
sha256 "b7c7fad059ba446df5692d175c2a1d3816e542549661224806db369a0d716c45" | ||
|
||
depends_on :x11 | ||
|
||
def install | ||
system "./configure", "--prefix=#{prefix}" | ||
system "make", "install" | ||
end | ||
|
||
test do | ||
system "#{bin}/xclip", "-version" | ||
end | ||
end |