[arch-commits] Commit in qtchooser/repos (8 files)
Allan McRae
allan at archlinux.org
Sun Dec 6 01:36:50 UTC 2015
Date: Sunday, December 6, 2015 @ 02:36:50
Author: allan
Revision: 252548
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
qtchooser/repos/staging-i686/
qtchooser/repos/staging-i686/4.conf
(from rev 252547, qtchooser/trunk/4.conf)
qtchooser/repos/staging-i686/5.conf
(from rev 252547, qtchooser/trunk/5.conf)
qtchooser/repos/staging-i686/PKGBUILD
(from rev 252547, qtchooser/trunk/PKGBUILD)
qtchooser/repos/staging-x86_64/
qtchooser/repos/staging-x86_64/4.conf
(from rev 252547, qtchooser/trunk/4.conf)
qtchooser/repos/staging-x86_64/5.conf
(from rev 252547, qtchooser/trunk/5.conf)
qtchooser/repos/staging-x86_64/PKGBUILD
(from rev 252547, qtchooser/trunk/PKGBUILD)
-------------------------+
staging-i686/4.conf | 2 ++
staging-i686/5.conf | 2 ++
staging-i686/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
staging-x86_64/4.conf | 2 ++
staging-x86_64/5.conf | 2 ++
staging-x86_64/PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
6 files changed, 90 insertions(+)
Copied: qtchooser/repos/staging-i686/4.conf (from rev 252547, qtchooser/trunk/4.conf)
===================================================================
--- staging-i686/4.conf (rev 0)
+++ staging-i686/4.conf 2015-12-06 01:36:50 UTC (rev 252548)
@@ -0,0 +1,2 @@
+/usr/lib/qt4/bin
+/usr/lib
Copied: qtchooser/repos/staging-i686/5.conf (from rev 252547, qtchooser/trunk/5.conf)
===================================================================
--- staging-i686/5.conf (rev 0)
+++ staging-i686/5.conf 2015-12-06 01:36:50 UTC (rev 252548)
@@ -0,0 +1,2 @@
+/usr/lib/qt/bin
+/usr/lib
Copied: qtchooser/repos/staging-i686/PKGBUILD (from rev 252547, qtchooser/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2015-12-06 01:36:50 UTC (rev 252548)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qtchooser
+pkgver=53
+pkgrel=2
+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=d20fdc63"
+ {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/staging-x86_64/4.conf (from rev 252547, qtchooser/trunk/4.conf)
===================================================================
--- staging-x86_64/4.conf (rev 0)
+++ staging-x86_64/4.conf 2015-12-06 01:36:50 UTC (rev 252548)
@@ -0,0 +1,2 @@
+/usr/lib/qt4/bin
+/usr/lib
Copied: qtchooser/repos/staging-x86_64/5.conf (from rev 252547, qtchooser/trunk/5.conf)
===================================================================
--- staging-x86_64/5.conf (rev 0)
+++ staging-x86_64/5.conf 2015-12-06 01:36:50 UTC (rev 252548)
@@ -0,0 +1,2 @@
+/usr/lib/qt/bin
+/usr/lib
Copied: qtchooser/repos/staging-x86_64/PKGBUILD (from rev 252547, qtchooser/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2015-12-06 01:36:50 UTC (rev 252548)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=qtchooser
+pkgver=53
+pkgrel=2
+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=d20fdc63"
+ {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