[arch-commits] Commit in qbs/repos/extra-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at archlinux.org
Wed Dec 23 12:50:03 UTC 2020


    Date: Wednesday, December 23, 2020 @ 12:50:01
  Author: arojas
Revision: 404914

archrelease: copy trunk to extra-x86_64

Added:
  qbs/repos/extra-x86_64/PKGBUILD
    (from rev 404913, qbs/trunk/PKGBUILD)
Deleted:
  qbs/repos/extra-x86_64/PKGBUILD

----------+
 PKGBUILD |   59 ++++++++++++++++++++++++++++-------------------------------
 1 file changed, 28 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-23 12:49:49 UTC (rev 404913)
+++ PKGBUILD	2020-12-23 12:50:01 UTC (rev 404914)
@@ -1,31 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Maintainer: Antonio Rojas <arojas at archlinux.org>
-# Contributor: Donald Carr <sirspudd at gmail.com>
-# Contributor: Jake Petroules <jake.petroules at qt.io>
-
-pkgname=qbs
-pkgver=1.17.0
-pkgrel=1
-pkgdesc='Cross platform build tool'
-arch=(x86_64)
-url='https://wiki.qt.io/Qbs'
-license=(LGPL)
-depends=(qt5-script)
-source=(https://download.qt.io/official_releases/qbs/$pkgver/qbs-src-$pkgver.tar.gz)
-sha256sums=('03470d0b9447fafc70b8edb6e7486887245f1b43b746db7ccf6fbfcd594e8631')
-
-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
-}
-
-package() {
-  cd $pkgname-src-$pkgver
-  INSTALL_ROOT="$pkgdir" make install
-}

Copied: qbs/repos/extra-x86_64/PKGBUILD (from rev 404913, qbs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-23 12:50:01 UTC (rev 404914)
@@ -0,0 +1,28 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Maintainer: Antonio Rojas <arojas at archlinux.org>
+# Contributor: Donald Carr <sirspudd at gmail.com>
+# Contributor: Jake Petroules <jake.petroules at qt.io>
+
+pkgname=qbs
+pkgver=1.18.0
+pkgrel=1
+pkgdesc='Cross platform build tool'
+arch=(x86_64)
+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=('3d0211e021bea3e56c4d5a65c789d11543cc0b6e88f1bfe23c2f8ebf0f89f8d4')
+
+build() {
+  cmake -B build -S $pkgname-src-$pkgver \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DWITH_TESTS=OFF \
+    -DQBS_LIBEXEC_INSTALL_DIR=lib/qbs
+  cmake --build build
+}
+
+package() {
+  DESTDIR="$pkgdir" cmake --install build
+}



More information about the arch-commits mailing list