1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="XML-XCB protocol descriptions"
9 url="https://xcb.freedesktop.org/"
11 makedepends=('python' 'libxml2')
12 source=(https://xorg.freedesktop.org/archive/individual/proto/$pkgname-$pkgver.tar.xz{,.sig}
13 0001_xcb-proto_revert_datarootdir.patch::https://gitlab.freedesktop.org/xorg/proto/xcbproto/-/commit/d849b9534a52b0199f26c1dd30ac11aba12db9dc.patch)
14 sha512sums=('9d0b2f0a4dbbf2d64e32ff4658d1663e13d7e5f1bffc1e8d45be7b9dd5bab46e29fc1c2f6e66a7a569e374ba6756faf3c39b0b5e5560df6d7f8b68beec97659d'
17 #validpgpkeys=('A66D805F7C9329B4C5D82767CCC4F07FAC641EFF') # "Daniel Stone <daniels@collabora.com>"
18 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
19 #validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # "Alan Coopersmith <alan.coopersmith@oracle.com>"
23 # revert pkgfile back to /usr/lib
24 patch -Rp1 -i ../0001_xcb-proto_revert_datarootdir.patch
30 ./configure --prefix=/usr
41 make DESTDIR="$pkgdir" install
42 install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
43 install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"