db-move: moved webkitgtk-6.0 from [testing] to [extra] (x86_64)
[arch-packages.git] / libxtst / trunk / PKGBUILD
blobad23a281c92cdf05e3a1523578fa9ac03276ea6a
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 source=(${url}/releases/individual/lib/libXtst-${pkgver}.tar.xz{,.sig})
14 sha512sums=('f2f4e01239b892b8e26284cede90feb4fe7738beb243bca0f6adb349029f8bf87b5a482911edcd2401733c92ef78eec07fcd455b92e5b8c4828374769e60098d'
15             'SKIP')
16 #validpgpkeys=('C41C985FDCF1E5364576638B687393EE37D128F8') # Matthieu Herrb <matthieu.herrb@laas.fr>
17 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
19 build() {
20   cd "${srcdir}/libXtst-${pkgver}"
21   ./configure --prefix=/usr --disable-static
22   sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
23   make
26 package() {
27   cd "${srcdir}/libXtst-${pkgver}"
28   make DESTDIR="${pkgdir}" install
30   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
31   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"