db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / qbs / trunk / PKGBUILD
blob63eec11be3337b7268886ecb39fb24ef666232bb
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.0
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=('d78555691ea732949346860e56f68c7c44e9384011359722b032a49b52dfccfd')
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