Date: Wednesday, February 27, 2013 @ 16:10:48 Author: lcarlier Revision: 85176
archrelease: copy trunk to multilib-testing-x86_64 Added: lib32-mesa-demos/repos/multilib-testing-x86_64/PKGBUILD (from rev 85175, lib32-mesa-demos/trunk/PKGBUILD) Deleted: lib32-mesa-demos/repos/multilib-testing-x86_64/PKGBUILD ----------+ PKGBUILD | 85 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2013-02-27 15:10:40 UTC (rev 85175) +++ PKGBUILD 2013-02-27 15:10:48 UTC (rev 85176) @@ -1,42 +0,0 @@ -# $Id$ -# Maintainer: Jan de Groot <j...@archlinux.org> -# Maintainer: Andreas Radke <andy...@archlinux.org> - -_pkgbasename=mesa-demos -pkgname=lib32-$_pkgbasename -pkgver=8.1.0 -pkgrel=1 -arch=(x86_64) -pkgdesc="Mesa demos and tools (32-bit)" -url="http://mesa3d.sourceforge.net" -license=('custom') -makedepends=(gcc-multilib 'lib32-mesa-libgl>=9.1' 'lib32-glew' 'libgl>=9.1') -source=(ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2) -md5sums=('9df33ba69a26bbfbc7c8148602e59542') - -build() { - export CC="gcc -m32" - export CXX="g++ -m32" - export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" - - cd "${srcdir}/mesa-demos-${pkgver}" - ./configure --prefix=/usr \ - --enable-gles1 \ - --enable-gles2 - - make -} - -package() { - depends=('lib32-glew' mesa-demos) - - cd "${srcdir}/mesa-demos-${pkgver}" - make DESTDIR="${pkgdir}" install - - for i in "$pkgdir/usr/bin/"*; do - mv "$i" "$i"32 - done - - mkdir -p "$pkgdir/usr/share/licenses" - ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" -} Copied: lib32-mesa-demos/repos/multilib-testing-x86_64/PKGBUILD (from rev 85175, lib32-mesa-demos/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2013-02-27 15:10:48 UTC (rev 85176) @@ -0,0 +1,43 @@ +# $Id$ +# Maintainer: Jan de Groot <j...@archlinux.org> +# Maintainer: Andreas Radke <andy...@archlinux.org> + +_pkgbasename=mesa-demos +pkgname=lib32-$_pkgbasename +pkgver=8.1.0 +pkgrel=2 +arch=(x86_64) +pkgdesc="Mesa demos and tools (32-bit)" +url="http://mesa3d.sourceforge.net" +license=('custom') +depends=('lib32-libgl' 'lib32-glew' 'mesa-demos') +makedepends=(gcc-multilib 'lib32-mesa') +source=(ftp://ftp.freedesktop.org/pub/mesa/demos/${pkgver}/mesa-demos-${pkgver}.tar.bz2) +md5sums=('9df33ba69a26bbfbc7c8148602e59542') + +build() { + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + cd "${srcdir}/mesa-demos-${pkgver}" + ./configure --prefix=/usr + + make +} + +package() { + depends=('lib32-glew' mesa-demos) + + cd "${srcdir}/mesa-demos-${pkgver}" + make DESTDIR="${pkgdir}" install + + for i in "$pkgdir/usr/bin/"*; do + mv "$i" "$i"32 + done + + rm -r "$pkgdir/usr/share/mesa-demos" + + mkdir -p "$pkgdir/usr/share/licenses" + ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname" +}