1 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=lib32-$_pkgbasename
7 pkgdesc="X11 Testing -- Resource extension library (32-bit)"
9 url="https://xorg.freedesktop.org/"
11 depends=('lib32-libxext' 'lib32-libxi' 'lib32-libxfixes' $_pkgbasename)
12 makedepends=('gcc-multilib' 'xorg-util-macros')
13 source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.xz{,.sig})
14 sha256sums=('84f5f30b9254b4ffee14b5b0940e2622153b0d3aed8286a3c5b7eeb340ca33c8'
16 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
19 cd "${srcdir}/libXtst-${pkgver}"
22 export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
24 ./configure --prefix=/usr --disable-static \
30 cd "${srcdir}/libXtst-${pkgver}"
32 make DESTDIR="${pkgdir}" install
34 rm -rf "${pkgdir}"/usr/{include,share}
36 mkdir -p "$pkgdir/usr/share/licenses"
37 ln -s $_pkgbasename "$pkgdir/usr/share/licenses/$pkgname"