[arch-commits] Commit in apitrace/repos (2 files)
Ike Devolder
idevolder at archlinux.org
Tue Jun 5 19:00:46 UTC 2018
Date: Tuesday, June 5, 2018 @ 19:00:46
Author: idevolder
Revision: 340612
archrelease: copy trunk to community-testing-x86_64
Added:
apitrace/repos/community-testing-x86_64/
apitrace/repos/community-testing-x86_64/PKGBUILD
(from rev 340611, apitrace/trunk/PKGBUILD)
----------+
PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
Copied: apitrace/repos/community-testing-x86_64/PKGBUILD (from rev 340611, apitrace/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-06-05 19:00:46 UTC (rev 340612)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Laurent Carlier <lordheavym at gmail.com>
+# Contributor: Luca Bennati <lucak3 AT gmail DOT com>
+# Contributor: Glaucous <glakke1 at gmail dot com>
+
+pkgname=apitrace
+pkgver=7.1
+pkgrel=3
+pkgdesc="Graphics API Tracing"
+arch=('x86_64')
+url="https://github.com/apitrace/apitrace"
+license=('custom')
+makedepends=('cmake' 'mesa' 'libgl' 'python2' 'procps-ng' 'qt5-webkit')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/apitrace/apitrace/archive/${pkgver}.tar.gz")
+md5sums=('c5d44dece1e1ca7c63f8b8efbd06ac5a')
+
+build() {
+ cd ${srcdir}/apitrace-${pkgver}
+
+ cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+ -DENABLE_GUI=TRUE
+ make -C build
+}
+
+package() {
+ depends=('python2' 'libgl' 'procps-ng')
+ optdepends=('qt5-webkit: GUI support')
+
+ cd ${srcdir}/apitrace-${pkgver}
+
+ make -C build DESTDIR="${pkgdir}/" install
+
+ install -m755 -d "${pkgdir}/usr/share/licenses/apitrace"
+ install -m644 LICENSE "${pkgdir}/usr/share/licenses/apitrace/"
+}
More information about the arch-commits
mailing list