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

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Mar 29 16:03:27 UTC 2018


    Date: Thursday, March 29, 2018 @ 16:03:27
  Author: svenstaro
Revision: 320615

archrelease: copy trunk to community-x86_64

Added:
  qbs/repos/community-x86_64/
  qbs/repos/community-x86_64/PKGBUILD
    (from rev 320614, qbs/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: qbs/repos/community-x86_64/PKGBUILD (from rev 320614, qbs/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2018-03-29 16:03:27 UTC (rev 320615)
@@ -0,0 +1,33 @@
+# 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.11.0
+pkgrel=2
+pkgdesc='Cross platform build tool'
+arch=(x86_64)
+url='https://wiki.qt.io/Qbs'
+license=(LGPL)
+depends=(qt5-script)
+source=(http://download.qt.io/official_releases/qbs/${pkgver}/qbs-src-${pkgver}.tar.gz)
+sha256sums=('6ce30c468e688f6843468324a34a7191409b471c3ff6f3e834ef8bfa7b3467cd')
+
+build() {
+  cd $pkgname-src-$pkgver
+  qmake QBS_INSTALL_PREFIX=/usr \
+    CONFIG+=qbs_enable_project_file_updates \
+    QBS_LIBEXEC_INSTALL_DIR=/usr/lib/qbs \
+    qbs.pro
+  make
+}
+
+package() {
+  cd $pkgname-src-$pkgver
+  INSTALL_ROOT="$pkgdir" make install
+
+  # For some reason they don't install all the headers so we'll have to do that
+  # by hand.
+  cp src/lib/corelib/tools/*.h "$pkgdir"/usr/include/qbs/tools/
+}



More information about the arch-commits mailing list