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

Jelle van der Waa jelle at archlinux.org
Sun Feb 9 20:45:51 UTC 2020


    Date: Sunday, February 9, 2020 @ 20:45:49
  Author: jelle
Revision: 565552

archrelease: copy trunk to community-staging-x86_64

Added:
  apitrace/repos/community-staging-x86_64/
  apitrace/repos/community-staging-x86_64/PKGBUILD
    (from rev 565551, apitrace/trunk/PKGBUILD)

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

Copied: apitrace/repos/community-staging-x86_64/PKGBUILD (from rev 565551, apitrace/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-02-09 20:45:49 UTC (rev 565552)
@@ -0,0 +1,34 @@
+# 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=9.0
+pkgrel=2
+pkgdesc="Graphics API Tracing"
+arch=('x86_64')
+url="https://github.com/apitrace/apitrace"
+license=('custom')
+makedepends=('cmake' 'mesa' 'qt5-webkit')
+depends=('python' 'libgl' 'procps-ng')
+optdepends=('qt5-webkit: GUI support')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/apitrace/apitrace/archive/${pkgver}.tar.gz")
+sha256sums=('0eec81ba7d3799622336319785465a2982a0621898842517a07894d7e2aa18eb')
+
+build() {
+  cd apitrace-${pkgver}
+
+  cmake . -Bbuild -DCMAKE_INSTALL_PREFIX=/usr \
+    -DPYTHON_EXECUTABLE=/usr/bin/python2 \
+    -DENABLE_GUI=TRUE
+  make -C build
+}
+
+package() {
+  cd 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