[arch-commits] Commit in intel-gpu-tools/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Sat Apr 25 15:01:57 UTC 2020
Date: Saturday, April 25, 2020 @ 15:01:55
Author: foutrelis
Revision: 620832
archrelease: copy trunk to community-staging-x86_64
Added:
intel-gpu-tools/repos/community-staging-x86_64/
intel-gpu-tools/repos/community-staging-x86_64/PKGBUILD
(from rev 620831, intel-gpu-tools/trunk/PKGBUILD)
----------+
PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
Copied: intel-gpu-tools/repos/community-staging-x86_64/PKGBUILD (from rev 620831, intel-gpu-tools/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-25 15:01:55 UTC (rev 620832)
@@ -0,0 +1,45 @@
+# Maintainer: Daniel Micay <danielmicay at gmail.com>
+# Contributor: Mikael Eriksson <mikael_eriksson at miffe.org>
+# Originally by: Denis Smirnov <detanator at gmail.com>
+
+_pkgname=igt-gpu-tools
+pkgname=intel-gpu-tools
+pkgver=1.25
+pkgrel=2
+pkgdesc="Tools for development and testing of the Intel DRM driver"
+arch=(x86_64)
+license=(MIT)
+url='https://gitlab.freedesktop.org/drm/igt-gpu-tools'
+depends=(libdrm libpciaccess cairo python xorg-xrandr procps-ng kmod libxv libunwind peg systemd)
+makedepends=(swig gtk-doc xorg-util-macros xorgproto meson)
+source=(https://xorg.freedesktop.org/releases/individual/app/${_pkgname}-$pkgver.tar.xz{,.sig})
+sha512sums=('a24ee46092241da26fc2dac2b9b54c9f16f7a408c8740c9c7209e876929e2908a36261ba258ca4a4a4e4a21c1e9c919457bf98d514f81d8b7dbfcf5f89a74daf'
+ 'SKIP')
+validpgpkeys=('775965B85650195ACE77E18D7370055DB74C2475'
+ 'E1996E8A119F43C4BA2BE889D8C620766EA3F69D')
+
+prepare() {
+ mkdir -p build
+}
+
+build() {
+ cd build
+ meson ../$_pkgname-$pkgver \
+ --prefix=/usr \
+ --libexecdir=/usr/lib
+
+ ninja
+}
+
+check() {
+ cd build
+ ninja test
+}
+
+package() {
+ cd build
+ DESTDIR="$pkgdir" ninja install
+
+ cd ../$_pkgname-$pkgver
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
+}
More information about the arch-commits
mailing list