summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 12 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2b51e08a607d..740d11d4af0c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,31 +6,32 @@
_pkgname=qbs
pkgname=${_pkgname}-git
-pkgver=v1.7.2.r297.g512704a5
+pkgver=v2.2.1.r36.ge769597e5
pkgrel=1
pkgdesc='Qt Build Suite: Build tool that helps simplify the build process for developing projects across multiple platforms.'
arch=('x86_64' 'i686')
url='https://wiki.qt.io/Qt_Build_Suite'
license=('LGPL')
provides=('qbs')
-conflicts=('qtcreator' 'qbs')
-depends=('qt5-base' 'qt5-script')
+conflicts=('qbs')
+depends=('gcc-libs' 'glibc' 'qt6-base' 'qt6-5compat')
makedepends=('gcc' 'git')
-source=("git://code.qt.io/qbs/qbs.git")
+source=("git+https://github.com/qbs/qbs.git")
sha256sums=('SKIP')
pkgver() {
- cd "$_pkgname"
- git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+ cd $_pkgname
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
- cd "$_pkgname"
- qmake QBS_INSTALL_PREFIX=/usr qbs.pro
- make
+ cd $_pkgname
+ mkdir -p build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr . -B build
+ cmake --build build
}
package() {
- cd "$_pkgname"
- INSTALL_ROOT="$pkgdir" make install
+ cd $_pkgname
+ DESTDIR=${pkgdir} cmake --install build
}