forked from stephanemagnenat/homebrew-kf5
-
Notifications
You must be signed in to change notification settings - Fork 3
/
kf5-kglobalaccel.rb
32 lines (26 loc) · 974 Bytes
/
kf5-kglobalaccel.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require "formula"
class Kf5Kglobalaccel < Formula
url "http://download.kde.org/stable/frameworks/5.38/kglobalaccel-5.38.0.tar.xz"
sha256 "ba0a9084bd456fe4b9b9e308a0105ea744cf980bf4b5fcb0b1cd0a302a7cb5e7"
homepage "http://www.kde.org/"
head "git://anongit.kde.org/kglobalaccel.git"
depends_on "cmake" => :build
depends_on "chigraph/kf5/kf5-extra-cmake-modules" => :build
depends_on "chigraph/kf5/kf5-kconfig"
depends_on "chigraph/kf5/kf5-kcoreaddons"
depends_on "chigraph/kf5/kf5-kcrash"
depends_on "chigraph/kf5/kf5-kdbusaddons"
depends_on "chigraph/kf5/kf5-ki18n"
depends_on "chigraph/kf5/kf5-kservice"
depends_on "qt"
bottle do
root_url "https://dl.chigraph.io/dependencies/darwin/brew"
sha256 "de2579ba8e01209152bd85d1dbc4b7e36763bced37564b64002125b57179c562" => :sierra
end
def install
args = std_cmake_args
system "cmake", ".", *args
system "make", "install"
prefix.install "install_manifest.txt"
end
end