Skip to content

Commit

Permalink
qbs 1.9.0
Browse files Browse the repository at this point in the history
Closes #17663.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Sep 5, 2017
1 parent 4d428eb commit fab82f3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Formula/qbs.rb
@@ -1,8 +1,8 @@
class Qbs < Formula
desc "Build tool for developing projects across multiple platforms."
homepage "https://wiki.qt.io/Qbs"
url "https://download.qt.io/official_releases/qbs/1.8.1/qbs-src-1.8.1.tar.gz"
sha256 "3e94460ecbd1ca43974d62a0ecf691d48866049787c465944866baf52d5b16fc"
url "https://download.qt.io/official_releases/qbs/1.9.0/qbs-src-1.9.0.tar.gz"
sha256 "eb1bdedd274ad349442cb6b3938b4b904e7f738881c0689c2b71b620ec714793"
head "https://code.qt.io/qt-labs/qbs.git"

bottle do
Expand All @@ -15,8 +15,11 @@ class Qbs < Formula
depends_on "qt"

def install
system "qmake", "qbs.pro", "-r", "QBS_INSTALL_PREFIX=/"
system "make", "install", "INSTALL_ROOT=#{prefix}"
cd "qbs-src-1.9.0" do
system "qmake", "qbs.pro", "-r", "QBS_INSTALL_PREFIX=/"
system "make", "install", "INSTALL_ROOT=#{prefix}"
prefix.install_metafiles
end
end

test do
Expand Down

0 comments on commit fab82f3

Please sign in to comment.