summaryrefslogtreecommitdiffstats
path: root/abs/extra/libxshmfence/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-04-06 00:26:27 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-04-06 00:26:27 (GMT)
commitb1867d052392c33cedc5c4f1f3e93b54dbf1dffc (patch)
tree5e7e1c4579140b5d2ffe5c0b8cd2649cd18a6b9f /abs/extra/libxshmfence/PKGBUILD
parentf27f10c676f4e212ce4001959b240551203502c9 (diff)
downloadlinhes_pkgbuild-b1867d052392c33cedc5c4f1f3e93b54dbf1dffc.zip
linhes_pkgbuild-b1867d052392c33cedc5c4f1f3e93b54dbf1dffc.tar.gz
linhes_pkgbuild-b1867d052392c33cedc5c4f1f3e93b54dbf1dffc.tar.bz2
libxshmfence: initial inclusion. dep of mesa. refs #964
Diffstat (limited to 'abs/extra/libxshmfence/PKGBUILD')
-rw-r--r--abs/extra/libxshmfence/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
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}/"
+}