upgpkg: ocaml-topkg 1.0.5-2
[arch-packages.git] / qbs / trunk / PKGBUILD
blobee5cd9ba720e79e93044ffa8921f743e32b29b42
1 # Maintainer: Sven-Hendrik Haase <sh@lutzhaase.com>
2 # Maintainer: Antonio Rojas <arojas@archlinux.org>
3 # Contributor: Donald Carr <sirspudd@gmail.com>
4 # Contributor: Jake Petroules <jake.petroules@qt.io>
6 pkgname=qbs
7 pkgver=2.0.1
8 pkgrel=1
9 pkgdesc='Cross platform build tool'
10 arch=(x86_64)
11 url='https://wiki.qt.io/Qbs'
12 license=(LGPL)
13 depends=(qt6-5compat)
14 makedepends=(cmake)
15 source=(https://download.qt.io/official_releases/qbs/$pkgver/qbs-src-$pkgver.tar.gz)
16 sha256sums=('475a170fc4a117c2a93b30356f3c884eb73059b2cb06fed9f090a5f679aa5555')
18 build() {
19   cmake -B build -S $pkgname-src-$pkgver \
20     -DCMAKE_INSTALL_PREFIX=/usr \
21     -DWITH_TESTS=OFF \
22     -DQBS_LIBEXEC_INSTALL_DIR=lib/qbs
23   cmake --build build
26 package() {
27   DESTDIR="$pkgdir" cmake --install build