archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxshmfence / trunk / PKGBUILD
blob4a3543b01840601d8fd86dbc17e740292d472097
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
3 pkgname=libxshmfence
4 pkgver=1.3.1
5 pkgrel=1
6 pkgdesc="a library that exposes a event API on top of Linux futexes"
7 arch=('x86_64')
8 url="https://xorg.freedesktop.org/"
9 license=('GPL')
10 #groups=()
11 depends=('glibc')
12 makedepends=('xorg-util-macros' 'xorgproto')
13 options=('debug')
14 source=(${url}/archive/individual/lib/${pkgname}-${pkgver}.tar.xz{,.sig})
15 sha512sums=('f0c33b97204d62dc8352e2728ce12694bdb83ccbd1fd11c19db17246cd62bcd3e675f5b5b88a4e14bda59b4174003c758c24a3d93abc4bf574fdadc3bf07da71'
16             'SKIP')
17 #validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # Keith Packard <keithp@keithp.com>
18 #validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
19 validpgpkeys=('4A193C06D35E7C670FA4EF0BA2FB9E081F2D130E') # Alan Coopersmith <alan.coopersmith@oracle.com>
21 build() {
22   cd $pkgname-$pkgver
23   ./configure --prefix=/usr
24   make
27 check() {
28   cd $pkgname-$pkgver
29   make -k check
32 package() {
33   cd $pkgname-$pkgver
34   make DESTDIR="$pkgdir/" install
35   install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
36   install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"