1 # Maintainer: Andreas Radke <andyrtr@archlinux.org>
6 pkgdesc="X11 client-side library"
8 url="https://xorg.freedesktop.org/"
9 # keep xorgproto runtime dependency
10 # https://lists.archlinux.org/pipermail/arch-dev-public/2019-December/029767.html
11 depends=('libxcb' 'xorgproto')
12 makedepends=('xorg-util-macros' 'xtrans')
15 source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.xz{,.sig})
16 sha512sums=('662ee8043d9ba27df82f647515b701d6f302a52715f21afdaba391f3b70691753e3649e7ff8322e07858be4297df9cbb19227958d676ed6dea198cce64330d1d'
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alanc@freedesktop.org>
19 #validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
20 #validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
21 #validpgpkeys=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <ajax@nwnk.net>
22 #validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # "Keith Packard <keithp@keithp.com>"
26 ./configure --prefix=/usr \
29 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
39 cd "${srcdir}/libX11-${pkgver}"
40 make DESTDIR="${pkgdir}" install
42 install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
43 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"