Skip to content

Commit 736c0d0

Browse files
committed
xclipboard: new formula
Closes #849. Signed-off-by: Maxim Belkin <maxim.belkin@gmail.com>
1 parent 62846f8 commit 736c0d0

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

‎Formula/xclipboard.rb‎

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
class Xclipboard < Formula
2+
desc "Clipboard manager for X11"
3+
homepage "https://www.x.org/"
4+
url "https://www.x.org/pub/individual/app/xclipboard-1.1.5.tar.xz"
5+
sha256 "8e47a4e18a88d47b14e8eb61a5f298687624a38f9decee9988d8b51a20514c45"
6+
license "MIT"
7+
8+
depends_on "pkg-config" => :build
9+
depends_on "util-macros" => :build
10+
depends_on "libx11"
11+
depends_on "libxaw"
12+
depends_on "libxkbfile"
13+
depends_on "libxmu"
14+
depends_on "libxt"
15+
16+
def install
17+
args = %W[
18+
--prefix=#{prefix}
19+
--sysconfdir=#{etc}
20+
--localstatedir=#{var}
21+
--disable-dependency-tracking
22+
--disable-silent-rules
23+
]
24+
25+
system "./configure", *args
26+
system "make"
27+
system "make", "install"
28+
end
29+
30+
test do
31+
assert_predicate bin/"xclipboard", :executable?
32+
end
33+
end

0 commit comments

Comments
 (0)