archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxtst / trunk / PKGBUILD
blob2b929d34d185f89e222f0c9b8f9e4f2611200fa6
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Maintainer: Jan de Groot <jgc@archlinux.org>
4 pkgname=libxtst
5 pkgver=1.2.3
6 pkgrel=5
7 pkgdesc="X11 Testing -- Resource extension library"
8 arch=('x86_64')
9 url="https://xorg.freedesktop.org/"
10 license=('custom')
11 depends=('libxext' 'libxi' 'libxfixes')
12 makedepends=('xorg-util-macros' 'xorgproto')
13 source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.bz2{,.sig})
14 sha256sums=('4655498a1b8e844e3d6f21f3b2c4e2b571effb5fd83199d428a6ba7ea4bf5204'
15             'SKIP')
16 validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
18 build() {
19   cd "${srcdir}/libXtst-${pkgver}"
20   ./configure --prefix=/usr --disable-static
21   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
22   make
25 package() {
26   cd "${srcdir}/libXtst-${pkgver}"
27   make DESTDIR="${pkgdir}" install
29   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
30   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"