1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
7 pkgdesc="X11 Testing -- Resource extension library"
9 url="https://xorg.freedesktop.org/"
11 depends=('libxext' 'libxi' 'libxfixes')
12 makedepends=('xorg-util-macros' 'xorgproto')
14 source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.xz{,.sig})
15 sha512sums=('f2f4e01239b892b8e26284cede90feb4fe7738beb243bca0f6adb349029f8bf87b5a482911edcd2401733c92ef78eec07fcd455b92e5b8c4828374769e60098d'
17 #validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
21 cd "${srcdir}/libXtst-${pkgver}"
22 ./configure --prefix=/usr --disable-static
23 sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
28 cd "${srcdir}/libXtst-${pkgver}"
29 make DESTDIR="${pkgdir}" install
31 install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
32 install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"