archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libpciaccess / trunk / PKGBUILD
blob97c20e2f2307c82b19cef893c5a12e7ac771ecf4
1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
3 # Contributor: Alexander Baldeck <alexander@archlinux.org>
5 pkgname=libpciaccess
6 pkgver=0.17
7 pkgrel=1
8 pkgdesc="X11 PCI access library"
9 arch=(x86_64)
10 license=('custom')
11 url="https://xorg.freedesktop.org/"
12 depends=('glibc' 'zlib')
13 makedepends=('xorg-util-macros' 'meson')
14 source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.xz{,.sig})
15 sha512sums=('8484605c66ef18c8d8a3e029a6d33e26fcaa450c1263790d89ac8b0a160ffb2dfceaa6140ac9ad7d8087283ecbec8ac801f757e44890d547c3cbecd2c922ca47'
16             'SKIP')
17 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
18 #validpgpkeys+=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # "Emil Velikov <emil.l.velikov@gmail.com>" 
19 #validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson <ajax@nwnk.net>"
21 prepare() {
22   mkdir build
25 build() {
26   arch-meson "$pkgname"-$pkgver build
27   ninja -C build
30 check() {
31   meson test -C build
34 package() {
35   DESTDIR="$pkgdir" ninja -C build install
36   install -Dm644 "$pkgname"-$pkgver/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"