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')
14 source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.xz{,.sig})
15 sha512sums=('3150a47498b0cb012482ee02efeaae16d9e736288f2b3f917be912e1613d56ad6b4ab180de8820305deb2b95dfd993633f43a65344d75979d6b86bdf110cb63e'
17 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alanc@freedesktop.org>
18 #validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
19 #validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
20 #validpgpkeys=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <ajax@nwnk.net>
21 #validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # "Keith Packard <keithp@keithp.com>"
25 ./configure --prefix=/usr \
28 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
38 cd "${srcdir}/libX11-${pkgver}"
39 make DESTDIR="${pkgdir}" install
41 install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
42 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"