1 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=lib32-$_pkgbasename
7 pkgdesc="X11 miscellaneous extensions library (32-bit)"
9 url="https://xorg.freedesktop.org/"
11 depends=('lib32-libx11' $_pkgbasename)
12 makedepends=('xorg-util-macros' 'gcc-multilib')
13 source=(${url}/releases/individual/lib/libXext-${pkgver}.tar.xz{,.sig})
14 sha512sums=('fd9805982dabfb14b1526c0cb71f94508003fa3fcd60560d387465afd891c1dca61927ae86278436d53f4b840cacd1f412071fdc3dce1d6f730610a9c163d59b'
16 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
19 cd "${srcdir}/libXext-${pkgver}"
22 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
24 ./configure --prefix=/usr --sysconfdir=/etc --disable-static --libdir=/usr/lib32
29 cd "${srcdir}/libXext-${pkgver}"
31 make DESTDIR="${pkgdir}" install
33 rm -rf "${pkgdir}"/usr/{include,share}
35 mkdir -p "$pkgdir/usr/share/licenses"
36 ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"