1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
3 # When releasing a xorgproto version with updated keysyms, rebuild libx11
8 pkgdesc="combined X.Org X11 Protocol headers"
10 url="https://xorg.freedesktop.org/"
12 makedepends=('xorg-util-macros' 'meson')
13 checkdepends=('python-libevdev')
14 source=(https://xorg.freedesktop.org/archive/individual/proto/$pkgname-$pkgver.tar.xz{,.sig})
15 sha512sums=('8e6108110600d076a94cc6d0e465b2e9adfbbe8d7e6b75fae9c5262d99dc6074ab1ed561a74d6d451f00f5b7af9f507a6317be9c0770efeed9e60b64beb7a1c9'
17 validpgpkeys=('3C2C43D9447D5938EF4551EBE23B7E70B467F0BF') # "Peter Hutterer (Who-T) <office@who-t.net>"
18 #validpgpkeys=('FD0004A26EADFE43A4C3F249C6F7AE200374452D') # "Povilas Kanapickas <povilas@radix.lt>"
25 arch-meson "$pkgname"-$pkgver build
34 DESTDIR="$pkgdir" ninja -C build install
37 install -m755 -d "${pkgdir}/usr/share/doc/${pkgname}"
38 install -m644 "$pkgname"-$pkgver/PM_spec "${pkgdir}/usr/share/doc/${pkgname}/"
41 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
42 install -m644 "$pkgname"-$pkgver/COPYING* "${pkgdir}/usr/share/licenses/${pkgname}/"
43 # remove licences of legacy stuff we don't ship anymore
44 rm -f "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING-{evieproto,fontcacheproto,lg3dproto,printproto,xcalibrateproto,xf86rushproto}
47 rm -f "${pkgdir}"/usr/include/X11/extensions/apple*
48 rm -f "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING-{apple,windows}wmproto
49 rm -f "${pkgdir}"/usr/share/pkgconfig/applewmproto.pc