[arch-commits] Commit in lib32-glu/repos (2 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Dec 7 13:22:41 UTC 2015


    Date: Monday, December 7, 2015 @ 14:22:40
  Author: bpiotrowski
Revision: 149882

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-glu/repos/multilib-staging-x86_64/
  lib32-glu/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 149881, lib32-glu/trunk/PKGBUILD)

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

Copied: lib32-glu/repos/multilib-staging-x86_64/PKGBUILD (from rev 149881, lib32-glu/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2015-12-07 13:22:40 UTC (rev 149882)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+
+pkgname=lib32-glu
+pkgver=9.0.0
+pkgrel=3
+pkgdesc="Mesa OpenGL utility library (32 bits)"
+arch=('x86_64')
+url="http://mesa.freedesktop.org/"
+license=('LGPL')
+depends=('lib32-libgl' 'glu')
+makedepends=('gcc-multilib' 'lib32-mesa')
+options=('!libtool')
+source=(ftp://ftp.freedesktop.org/pub/mesa/glu/glu-$pkgver.tar.bz2)
+sha256sums=('1f7ad0d379a722fcbd303aa5650c6d7d5544fde83196b42a73d1193568a4df12')
+
+build() {
+  cd ${srcdir}/glu-$pkgver
+
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  ./configure --prefix=/usr --disable-static \
+    --libdir=/usr/lib32 
+  make
+}
+
+check() {
+  cd "$srcdir/glu-$pkgver"
+
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  make -k check
+}
+
+package() {
+  cd ${srcdir}/glu-$pkgver
+
+  make DESTDIR=${pkgdir} install
+  
+  rm -rf ${pkgdir}/usr/include
+}



More information about the arch-commits mailing list