From b1867d052392c33cedc5c4f1f3e93b54dbf1dffc Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Sun, 6 Apr 2014 00:26:27 +0000
Subject: libxshmfence: initial inclusion. dep of mesa. refs #964

---
 abs/extra/libxshmfence/PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 abs/extra/libxshmfence/PKGBUILD

diff --git a/abs/extra/libxshmfence/PKGBUILD b/abs/extra/libxshmfence/PKGBUILD
new file mode 100644
index 0000000..eed460e
--- /dev/null
+++ b/abs/extra/libxshmfence/PKGBUILD
@@ -0,0 +1,37 @@
+# $Id$
+# 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}/"
+}
-- 
cgit v0.12

