Date: Friday, May 23, 2014 @ 11:19:21 Author: andrea Revision: 213408
archrelease: copy trunk to testing-i686, testing-x86_64 Added: qtchooser/repos/testing-i686/ qtchooser/repos/testing-i686/4.conf (from rev 213407, qtchooser/trunk/4.conf) qtchooser/repos/testing-i686/5.conf (from rev 213407, qtchooser/trunk/5.conf) qtchooser/repos/testing-i686/PKGBUILD (from rev 213407, qtchooser/trunk/PKGBUILD) qtchooser/repos/testing-x86_64/ qtchooser/repos/testing-x86_64/4.conf (from rev 213407, qtchooser/trunk/4.conf) qtchooser/repos/testing-x86_64/5.conf (from rev 213407, qtchooser/trunk/5.conf) qtchooser/repos/testing-x86_64/PKGBUILD (from rev 213407, qtchooser/trunk/PKGBUILD) -------------------------+ testing-i686/4.conf | 2 ++ testing-i686/5.conf | 2 ++ testing-i686/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ testing-x86_64/4.conf | 2 ++ testing-x86_64/5.conf | 2 ++ testing-x86_64/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ 6 files changed, 80 insertions(+) Copied: qtchooser/repos/testing-i686/4.conf (from rev 213407, qtchooser/trunk/4.conf) =================================================================== --- testing-i686/4.conf (rev 0) +++ testing-i686/4.conf 2014-05-23 09:19:21 UTC (rev 213408) @@ -0,0 +1,2 @@ +/usr/lib/qt4/bin +/usr/lib Copied: qtchooser/repos/testing-i686/5.conf (from rev 213407, qtchooser/trunk/5.conf) =================================================================== --- testing-i686/5.conf (rev 0) +++ testing-i686/5.conf 2014-05-23 09:19:21 UTC (rev 213408) @@ -0,0 +1,2 @@ +/usr/lib/qt/bin +/usr/lib Copied: qtchooser/repos/testing-i686/PKGBUILD (from rev 213407, qtchooser/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-05-23 09:19:21 UTC (rev 213408) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=qtchooser +pkgver=41 +pkgrel=1 +pkgdesc='Wrap the other Qt tools by searching for different instances of Qt on the system' +arch=('i686' 'x86_64') +url='http://qt.gitorious.org/qt/qtchooser' +license=('GPL') +backup=('etc/xdg/qtchooser/default.conf') +depends=('gcc-libs') +makedepends=('git') +source=("git://gitorious.org/qt/${pkgname}.git#commit=7985f775fb9cf9b77bbbb394a832f0c5f26de47c" + {4,5}.conf) +md5sums=('SKIP' + 'aa4d49b269e1b806f5eea170801f0aa6' + 'cf83f09a9a5a44d898b93f624d74dd11') + +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 213407, qtchooser/trunk/4.conf) =================================================================== --- testing-x86_64/4.conf (rev 0) +++ testing-x86_64/4.conf 2014-05-23 09:19:21 UTC (rev 213408) @@ -0,0 +1,2 @@ +/usr/lib/qt4/bin +/usr/lib Copied: qtchooser/repos/testing-x86_64/5.conf (from rev 213407, qtchooser/trunk/5.conf) =================================================================== --- testing-x86_64/5.conf (rev 0) +++ testing-x86_64/5.conf 2014-05-23 09:19:21 UTC (rev 213408) @@ -0,0 +1,2 @@ +/usr/lib/qt/bin +/usr/lib Copied: qtchooser/repos/testing-x86_64/PKGBUILD (from rev 213407, qtchooser/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-05-23 09:19:21 UTC (rev 213408) @@ -0,0 +1,36 @@ +# $Id$ +# Maintainer: Andrea Scarpino <and...@archlinux.org> + +pkgname=qtchooser +pkgver=41 +pkgrel=1 +pkgdesc='Wrap the other Qt tools by searching for different instances of Qt on the system' +arch=('i686' 'x86_64') +url='http://qt.gitorious.org/qt/qtchooser' +license=('GPL') +backup=('etc/xdg/qtchooser/default.conf') +depends=('gcc-libs') +makedepends=('git') +source=("git://gitorious.org/qt/${pkgname}.git#commit=7985f775fb9cf9b77bbbb394a832f0c5f26de47c" + {4,5}.conf) +md5sums=('SKIP' + 'aa4d49b269e1b806f5eea170801f0aa6' + 'cf83f09a9a5a44d898b93f624d74dd11') + +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 +}