[arch-commits] Commit in (4 files)

Laurent Carlier lcarlier at archlinux.org
Sun Nov 16 03:16:01 UTC 2014


    Date: Sunday, November 16, 2014 @ 04:16:01
  Author: lcarlier
Revision: 122624

initial commit

Added:
  lib32-apitrace/
  lib32-apitrace/repos/
  lib32-apitrace/trunk/
  lib32-apitrace/trunk/PKGBUILD

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

Added: lib32-apitrace/trunk/PKGBUILD
===================================================================
--- lib32-apitrace/trunk/PKGBUILD	                        (rev 0)
+++ lib32-apitrace/trunk/PKGBUILD	2014-11-16 03:16:01 UTC (rev 122624)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Luca Bennati <lucak3 AT gmail DOT com>
+# Contributor: Glaucous <glakke1 at gmail dot com>
+
+pkgname=lib32-apitrace
+pkgver=5.0
+pkgrel=2
+pkgdesc="Graphics API Tracing (32-bit)"
+arch=('x86_64')
+url="https://github.com/apitrace/apitrace"
+license=('custom')
+makedepends=('cmake' 'lib32-mesa-libgl' 'lib32-procps-ng' 'python2' 'gcc-multilib')
+source=("https://github.com/apitrace/apitrace/archive/${pkgver}.zip")
+md5sums=('2a60e8a4c90f841dc95fe659ba26607e')
+
+build() {
+  cd ${srcdir}/apitrace-*
+
+  export CC='gcc -m32'
+  export CXX='g++ -m32'
+  export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+
+  cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_EXECUTABLE='/usr/bin/python2.7' \
+    -DLIB_SUFFIX=32 -DENABLE_GUI="no"
+  make -C build
+}
+
+package() {
+  depends=('python2' 'lib32-libgl' 'lib32-procps-ng' 'apitrace')
+
+  cd "${srcdir}"/apitrace-*
+  
+  make  -C build DESTDIR="${pkgdir}/" install
+
+  mv -v ${pkgdir}"/usr/bin/apitrace" ${pkgdir}"/usr/bin/apitrace32"
+  rm -r ${pkgdir}/usr/share/doc
+  rm ${pkgdir}/usr/bin/*retrace
+  
+  install -m755 -d ${pkgdir}"/usr/share/licenses/apitrace"
+  ln -s apitrace "$pkgdir/usr/share/licenses/apitrace/"${pkgname}
+}
+


Property changes on: lib32-apitrace/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property


More information about the arch-commits mailing list