1 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=lib32-$_pkgbasename
7 pkgdesc="X11 client-side library (32-bit)"
9 url="https://xorg.freedesktop.org/"
10 depends=('lib32-libxcb' $_pkgbasename)
11 makedepends=('xorg-util-macros' 'xorgproto' 'xtrans' 'gcc-multilib')
12 license=('custom:XFREE86')
13 source=(${url}/releases/individual/lib/libX11-${pkgver}.tar.xz{,.sig})
14 sha512sums=('3150a47498b0cb012482ee02efeaae16d9e736288f2b3f917be912e1613d56ad6b4ab180de8820305deb2b95dfd993633f43a65344d75979d6b86bdf110cb63e'
16 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alanc@freedesktop.org>
17 validpgpkeys+=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
18 validpgpkeys+=('3BB639E56F861FA2E86505690FDD682D974CA72A') # Matt Turner <mattst88@gmail.com>
19 validpgpkeys+=('995ED5C8A6138EB0961F18474C09DD83CAAA50B2') # Adam Jackson <ajax@nwnk.net>
20 #validpgpkeys+=('C383B778255613DFDB409D91DB221A6900000011') # "Keith Packard <keithp@keithp.com>"
24 export PKG_CONFIG="i686-pc-linux-gnu-pkg-config"
27 ./configure --prefix=/usr --disable-static --disable-xf86bigfont --disable-thread-safety-constructor \
28 --libdir=/usr/lib32 --disable-specs
29 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
41 make DESTDIR="${pkgdir}" install
43 rm -rf "${pkgdir}"/usr/{include,share}
45 mkdir -p "$pkgdir/usr/share/licenses"
46 ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"