summaryrefslogtreecommitdiff
path: root/extra/libepoxy
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2014-07-19 03:43:15 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2014-07-19 03:43:15 +0000
commite326eefd3e4853a3b36ef72eba0b21d21170de31 (patch)
tree5ffb9c48ffa81fa59fc8278d1abb6cf10f0e1682 /extra/libepoxy
parent9959727f4ef9acd6805bb372e98323a01468246e (diff)
Sat Jul 19 03:34:45 UTC 2014
Diffstat (limited to 'extra/libepoxy')
-rw-r--r--extra/libepoxy/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/extra/libepoxy/PKGBUILD b/extra/libepoxy/PKGBUILD
new file mode 100644
index 000000000..e9110e78b
--- /dev/null
+++ b/extra/libepoxy/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 217469 2014-07-18 14:56:43Z lcarlier $
+# Maintainer: Laurent Carlier <lordheavym@gmail.com>
+
+pkgname=libepoxy
+pkgver=1.2
+pkgrel=2
+pkgdesc="A library for handling OpenGL function pointer management for you"
+url="https://github.com/anholt/libepoxy"
+arch=('i686' 'x86_64')
+license=(MIT)
+depends=('glibc')
+makedepends=('xorg-util-macros' 'python' 'mesa-libgl')
+options=('!libtool')
+source=("https://github.com/anholt/${pkgname}/archive/v${pkgver}.tar.gz")
+md5sums=('12d6b7621f086c0c928887c27d90bc30')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+
+ ./autogen.sh --prefix=/usr
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+
+ make -k check
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+
+ make DESTDIR="$pkgdir" install
+ install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
+}
+