startup-notification: import from homebrew/x11.
This commit is contained in:
parent
d48eef47d3
commit
0d8ba9ac74
1 changed files with 21 additions and 0 deletions
21
Formula/startup-notification.rb
Normal file
21
Formula/startup-notification.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class StartupNotification < Formula
|
||||
desc "Reference implementation of startup notification protocol"
|
||||
homepage "https://www.freedesktop.org/wiki/Software/startup-notification/"
|
||||
url "https://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.12.tar.gz"
|
||||
sha256 "3c391f7e930c583095045cd2d10eb73a64f085c7fde9d260f2652c7cb3cfbe4a"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on :x11
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/startup-notification", "--version"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue