qbs 1.9.0

Closes #17663.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
ilovezfs 2017-09-05 10:16:00 -07:00
parent 4d428eb89c
commit fab82f3d1c

View file

@ -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
@ -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