[arch-commits] Commit in qbs/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Dec 23 12:49:51 UTC 2020


    Date: Wednesday, December 23, 2020 @ 12:49:49
  Author: arojas
Revision: 404913

Update to 1.18.0

Modified:
  qbs/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-23 10:45:40 UTC (rev 404912)
+++ PKGBUILD	2020-12-23 12:49:49 UTC (rev 404913)
@@ -4,7 +4,7 @@
 # Contributor: Jake Petroules <jake.petroules at qt.io>
 
 pkgname=qbs
-pkgver=1.17.0
+pkgver=1.18.0
 pkgrel=1
 pkgdesc='Cross platform build tool'
 arch=(x86_64)
@@ -11,21 +11,18 @@
 url='https://wiki.qt.io/Qbs'
 license=(LGPL)
 depends=(qt5-script)
+makedepends=(cmake)
 source=(https://download.qt.io/official_releases/qbs/$pkgver/qbs-src-$pkgver.tar.gz)
-sha256sums=('03470d0b9447fafc70b8edb6e7486887245f1b43b746db7ccf6fbfcd594e8631')
+sha256sums=('3d0211e021bea3e56c4d5a65c789d11543cc0b6e88f1bfe23c2f8ebf0f89f8d4')
 
 build() {
-  cd $pkgname-src-$pkgver
-  qmake QBS_INSTALL_PREFIX=/usr \
-    CONFIG+=qbs_enable_project_file_updates \
-    QBS_LIBEXEC_INSTALL_DIR=/usr/lib/qbs \
-    QBS_LIBEXEC_DESTDIR=../../../lib/qbs \
-    QBS_RELATIVE_LIBEXEC_PATH=../lib/qbs \
-    qbs.pro
-  make
+  cmake -B build -S $pkgname-src-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_TESTS=OFF \
+    -DQBS_LIBEXEC_INSTALL_DIR=lib/qbs
+  cmake --build build
 }
 
 package() {
-  cd $pkgname-src-$pkgver
-  INSTALL_ROOT="$pkgdir" make install
+  DESTDIR="$pkgdir" cmake --install build
 }



More information about the arch-commits mailing list