[arch-commits] Commit in qtchooser/repos (8 files)

Antonio Rojas arojas at archlinux.org
Wed Oct 7 23:10:37 UTC 2015


    Date: Thursday, October 8, 2015 @ 01:10:36
  Author: arojas
Revision: 248484

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  qtchooser/repos/testing-i686/
  qtchooser/repos/testing-i686/4.conf
    (from rev 248483, qtchooser/trunk/4.conf)
  qtchooser/repos/testing-i686/5.conf
    (from rev 248483, qtchooser/trunk/5.conf)
  qtchooser/repos/testing-i686/PKGBUILD
    (from rev 248483, qtchooser/trunk/PKGBUILD)
  qtchooser/repos/testing-x86_64/
  qtchooser/repos/testing-x86_64/4.conf
    (from rev 248483, qtchooser/trunk/4.conf)
  qtchooser/repos/testing-x86_64/5.conf
    (from rev 248483, qtchooser/trunk/5.conf)
  qtchooser/repos/testing-x86_64/PKGBUILD
    (from rev 248483, qtchooser/trunk/PKGBUILD)

-------------------------+
 testing-i686/4.conf     |    2 ++
 testing-i686/5.conf     |    2 ++
 testing-i686/PKGBUILD   |   41 +++++++++++++++++++++++++++++++++++++++++
 testing-x86_64/4.conf   |    2 ++
 testing-x86_64/5.conf   |    2 ++
 testing-x86_64/PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 6 files changed, 90 insertions(+)

Copied: qtchooser/repos/testing-i686/4.conf (from rev 248483, qtchooser/trunk/4.conf)
===================================================================
--- testing-i686/4.conf	                        (rev 0)
+++ testing-i686/4.conf	2015-10-07 23:10:36 UTC (rev 248484)
@@ -0,0 +1,2 @@
+/usr/lib/qt4/bin
+/usr/lib

Copied: qtchooser/repos/testing-i686/5.conf (from rev 248483, qtchooser/trunk/5.conf)
===================================================================
--- testing-i686/5.conf	                        (rev 0)
+++ testing-i686/5.conf	2015-10-07 23:10:36 UTC (rev 248484)
@@ -0,0 +1,2 @@
+/usr/lib/qt/bin
+/usr/lib

Copied: qtchooser/repos/testing-i686/PKGBUILD (from rev 248483, qtchooser/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-10-07 23:10:36 UTC (rev 248484)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qtchooser
+pkgver=52
+pkgrel=1
+pkgdesc='Wrap the other Qt tools by searching for different instances of Qt on the system'
+arch=('i686' 'x86_64')
+url='http://code.qt.io/cgit/qt/qtchooser.git/'
+license=('GPL')
+backup=('etc/xdg/qtchooser/default.conf')
+depends=('gcc-libs')
+makedepends=('git')
+source=("git://code.qt.io/qt/${pkgname}.git#commit=ae5eeef85c9a818bfa6a3e03511e3935e9abe01f"
+        {4,5}.conf)
+md5sums=('SKIP'
+         'aa4d49b269e1b806f5eea170801f0aa6'
+         'cf83f09a9a5a44d898b93f624d74dd11')
+
+pkgver() {
+  cd $pkgname
+  echo $(git rev-list --count HEAD)
+}
+
+build() {
+  cd $pkgname
+  make
+}
+
+package() {
+  cd $pkgname
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -d "$pkgdir"/etc/xdg/qtchooser
+  install -m644 "$srcdir"/{4,5}.conf \
+    "$pkgdir"/etc/xdg/qtchooser/
+
+  # Set the default Qt
+  ln -s /etc/xdg/qtchooser/5.conf \
+    "$pkgdir"/etc/xdg/qtchooser/default.conf
+}

Copied: qtchooser/repos/testing-x86_64/4.conf (from rev 248483, qtchooser/trunk/4.conf)
===================================================================
--- testing-x86_64/4.conf	                        (rev 0)
+++ testing-x86_64/4.conf	2015-10-07 23:10:36 UTC (rev 248484)
@@ -0,0 +1,2 @@
+/usr/lib/qt4/bin
+/usr/lib

Copied: qtchooser/repos/testing-x86_64/5.conf (from rev 248483, qtchooser/trunk/5.conf)
===================================================================
--- testing-x86_64/5.conf	                        (rev 0)
+++ testing-x86_64/5.conf	2015-10-07 23:10:36 UTC (rev 248484)
@@ -0,0 +1,2 @@
+/usr/lib/qt/bin
+/usr/lib

Copied: qtchooser/repos/testing-x86_64/PKGBUILD (from rev 248483, qtchooser/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-10-07 23:10:36 UTC (rev 248484)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qtchooser
+pkgver=52
+pkgrel=1
+pkgdesc='Wrap the other Qt tools by searching for different instances of Qt on the system'
+arch=('i686' 'x86_64')
+url='http://code.qt.io/cgit/qt/qtchooser.git/'
+license=('GPL')
+backup=('etc/xdg/qtchooser/default.conf')
+depends=('gcc-libs')
+makedepends=('git')
+source=("git://code.qt.io/qt/${pkgname}.git#commit=ae5eeef85c9a818bfa6a3e03511e3935e9abe01f"
+        {4,5}.conf)
+md5sums=('SKIP'
+         'aa4d49b269e1b806f5eea170801f0aa6'
+         'cf83f09a9a5a44d898b93f624d74dd11')
+
+pkgver() {
+  cd $pkgname
+  echo $(git rev-list --count HEAD)
+}
+
+build() {
+  cd $pkgname
+  make
+}
+
+package() {
+  cd $pkgname
+  make INSTALL_ROOT="$pkgdir" install
+
+  install -d "$pkgdir"/etc/xdg/qtchooser
+  install -m644 "$srcdir"/{4,5}.conf \
+    "$pkgdir"/etc/xdg/qtchooser/
+
+  # Set the default Qt
+  ln -s /etc/xdg/qtchooser/5.conf \
+    "$pkgdir"/etc/xdg/qtchooser/default.conf
+}



More information about the arch-commits mailing list