summaryrefslogtreecommitdiff
path: root/extra/libxshmfence/PKGBUILD
blob: f12f9e2f005d14c94bf1e2a5c80889b3220bc013 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 200612 2013-11-29 20:50:42Z andyrtr $
# Maintainer: AndyRTR <andyrtr@archlinux.org>

pkgname=libxshmfence
pkgver=1.1
pkgrel=1
pkgdesc="a library that exposes a event API on top of Linux futexes"
arch=('i686' 'x86_64')
url="http://xorg.freedesktop.org/"
license=('GPL')
#groups=()
depends=('glibc')
makedepends=('xorg-util-macros' 'xproto')
source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
sha256sums=('dbc2db2925ca9f216fd1e9c63d0974db9f4d49aaf5877ffb606d2d8d7e58cebe')

build() {
	cd $pkgname-$pkgver
	
	# fix some libtools errors
	#autoreconf -vfi
	
	./configure --prefix=/usr
	make
}

check() {
	cd $pkgname-$pkgver
	make -k check
}

package() {
	cd $pkgname-$pkgver
	make DESTDIR="$pkgdir/" install
	install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
	install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
}