archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libxshmfence / trunk / PKGBUILD
blobbd71e2a7a570cf824f80f9083f56290a6539b852
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
3 pkgname=libxshmfence
4 pkgver=1.3
5 pkgrel=2
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 source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2{,.sig})
14 sha512sums=('c446e055f8fac62b9aa266132289a4cfc030282147974c45ce96d1768a98d1afb997470e58e4a68513174c404cbf373bdde2f0cd4b34abdbce1d89dd0b6fe2b7'
15             'SKIP')
16 validpgpkeys=('C383B778255613DFDB409D91DB221A6900000011') # Keith Packard <keithp@keithp.com>
17 validpgpkeys=('3BB639E56F861FA2E86505690FDD682D974CA72A') # "Matt Turner <mattst88@gmail.com>"
19 build() {
20         cd $pkgname-$pkgver
21         
22         # fix some libtools errors
23         #autoreconf -vfi
24         
25         ./configure --prefix=/usr
26         make
29 check() {
30         cd $pkgname-$pkgver
31         make -k check
34 package() {
35         cd $pkgname-$pkgver
36         make DESTDIR="$pkgdir/" install
37         install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
38         install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"