summaryrefslogtreecommitdiff
path: root/extra/libxshmfence
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-11-03 01:06:08 -0700
committerroot <root@rshg054.dnsready.net>2013-11-03 01:06:08 -0700
commit1ce58386c5ee7086ac6848f35cade5d45bf86764 (patch)
treea02b709cc5107313c2a640ad192b4a4cb790df4f /extra/libxshmfence
parent02c5897cefdb4df89590f03c12870ad263240ebd (diff)
Sun Nov 3 01:05:44 PDT 2013
Diffstat (limited to 'extra/libxshmfence')
-rw-r--r--extra/libxshmfence/COPYING21
-rw-r--r--extra/libxshmfence/PKGBUILD43
2 files changed, 64 insertions, 0 deletions
diff --git a/extra/libxshmfence/COPYING b/extra/libxshmfence/COPYING
new file mode 100644
index 000000000..313c8f18e
--- /dev/null
+++ b/extra/libxshmfence/COPYING
@@ -0,0 +1,21 @@
+/*
+ * Copyright © 2013 Keith Packard
+ *
+ * Permission to use, copy, modify, distribute, and sell this software and its
+ * documentation for any purpose is hereby granted without fee, provided that
+ * the above copyright notice appear in all copies and that both that copyright
+ * notice and this permission notice appear in supporting documentation, and
+ * that the name of the copyright holders not be used in advertising or
+ * publicity pertaining to distribution of the software without specific,
+ * written prior permission. The copyright holders make no representations
+ * about the suitability of this software for any purpose. It is provided "as
+ * is" without express or implied warranty.
+ *
+ * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
+ * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
+ * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR
+ * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
+ * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
+ * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
+ * OF THIS SOFTWARE.
+ */
diff --git a/extra/libxshmfence/PKGBUILD b/extra/libxshmfence/PKGBUILD
new file mode 100644
index 000000000..162aac75d
--- /dev/null
+++ b/extra/libxshmfence/PKGBUILD
@@ -0,0 +1,43 @@
+# $Id: PKGBUILD 198729 2013-11-02 10:02:59Z andyrtr $
+# Maintainer: AndyRTR <andyrtr@archlinux.org>
+
+pkgname=libxshmfence
+pkgver=1.0
+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')
+source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2
+ COPYING)
+sha256sums=('625089553939baa20e665873a6c8f3d694cfde78fb3110aa59da92fd2b14f14f'
+ '5e46864ede2fda46c3cb7cfe3a7b9f9e4bd36d8d21d8010a284caa64b81d465a')
+
+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
+
+ # license is still missing
+ # COPYING is taken from top of /usr/include/X11/xshmfence.h
+ install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -m644 ${srcdir}/COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
+
+}