db-move: moved seahorse from [testing] to [extra] (x86_64)
[arch-packages.git] / libxtst / repos / extra-x86_64 / PKGBUILD
blobc3fc19e0e7d86a65def1e6588ac2a6f8a3b36145
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
4 pkgname=libxtst
5 pkgver=1.2.4
6 pkgrel=1
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 options=('debug')
14 source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.xz{,.sig})
15 sha512sums=('f2f4e01239b892b8e26284cede90feb4fe7738beb243bca0f6adb349029f8bf87b5a482911edcd2401733c92ef78eec07fcd455b92e5b8c4828374769e60098d'
16             'SKIP')
17 #validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
18 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
20 build() {
21   cd "${srcdir}/libXtst-${pkgver}"
22   ./configure --prefix=/usr --disable-static
23   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
24   make
27 package() {
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}/"