Date: Monday, February 25, 2013 @ 20:32:05 Author: lcarlier Revision: 84878
10 votes on AUR Added: apitrace/ apitrace/repos/ apitrace/trunk/ apitrace/trunk/PKGBUILD ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Added: apitrace/trunk/PKGBUILD =================================================================== --- apitrace/trunk/PKGBUILD (rev 0) +++ apitrace/trunk/PKGBUILD 2013-02-25 19:32:05 UTC (rev 84878) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Laurent Carlier <[email protected]> +# Contributor: Luca Bennati <lucak3 AT gmail DOT com> +# Contributor: Glaucous <glakke1 at gmail dot com> + +pkgname=apitrace +pkgver=3.0 +pkgrel=1 +pkgdesc="Graphics API Tracing" +arch=('i686' 'x86_64') +url="https://github.com/apitrace/apitrace" +license=('BSD') +depends=('python2' 'libgl') +makedepends=('cmake>=2.8' 'mesa') +optdepends=('qt: GUI support' 'qjson: GUI support') +source=("https://github.com/apitrace/$pkgname/zipball/$pkgver" + gcc-4.7-fix.patch) +# LICENSE) + +build() { + cd ${srcdir}/apitrace-* + + # Merged upstream + patch -Np1 -i ${srcdir}/gcc-4.7-fix.patch + + cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_EXECUTABLE='/usr/bin/python2' + make -C build +} + +package() { + cd ${srcdir}/apitrace-* + + make -C build DESTDIR="${pkgdir}/" install + +# mkdir -p "${pkgdir}"/usr/share/licenses/apitrace +# mv "${pkgdir}"/usr/share/{doc,licenses}/apitrace/LICENSE +} + Property changes on: apitrace/trunk/PKGBUILD ___________________________________________________________________ Added: svn:keywords ## -0,0 +1 ## +Id \ No newline at end of property
