archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libpciaccess / repos / extra-x86_64 / PKGBUILD
blobb395d920a320d53993878ab76bd680c9521e9d0d
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 options=('debug')
15 source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.xz{,.sig})
16 sha512sums=('8484605c66ef18c8d8a3e029a6d33e26fcaa450c1263790d89ac8b0a160ffb2dfceaa6140ac9ad7d8087283ecbec8ac801f757e44890d547c3cbecd2c922ca47'
17             'SKIP')
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
19 #validpgpkeys+=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # "Emil Velikov <emil.l.velikov@gmail.com>" 
20 #validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # "Adam Jackson <ajax@nwnk.net>"
22 prepare() {
23   mkdir build
26 build() {
27   arch-meson "$pkgname"-$pkgver build
28   ninja -C build
31 check() {
32   meson test -C build
35 package() {
36   DESTDIR="$pkgdir" ninja -C build install
37   install -Dm644 "$pkgname"-$pkgver/COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}/"