summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Grande2020-12-12 18:56:55 -0500
committerVincent Grande2020-12-12 18:56:55 -0500
commit82eeb1b77a4b555121578b96748e73c74813819a (patch)
treec6a67bf0099b379b4acedb677704592ed90bbe79
downloadaur-82eeb1b77a4b555121578b96748e73c74813819a.tar.gz
initial upload
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD39
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..8d22ed6e9f8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = libepoxy-nodocs-git
+ pkgdesc = Library handling OpenGL function pointer management
+ pkgver = 1.5.4+20+g34ecb90
+ pkgrel = 1
+ url = https://github.com/anholt/libepoxy
+ arch = x86_64
+ license = MIT
+ makedepends = python
+ makedepends = git
+ makedepends = meson
+ depends = glibc
+ provides = libepoxy
+ conflicts = libepoxy
+ source = git+https://github.com/anholt/libepoxy.git
+ sha256sums = SKIP
+
+pkgname = libepoxy-nodocs-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..105fe73d969
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Christoph Haag <christoph.haag@collabora.com>
+# Contributor: Laurent Carlier <lordheavym@gmail.com>
+
+pkgname=libepoxy-nodocs-git
+pkgver=1.5.4+20+g34ecb90
+pkgrel=1
+pkgdesc="Library handling OpenGL function pointer management"
+url="https://github.com/anholt/libepoxy"
+arch=(x86_64)
+license=(MIT)
+depends=(glibc)
+makedepends=(python git meson)
+provides=("libepoxy")
+conflicts=("libepoxy")
+source=("git+https://github.com/anholt/libepoxy.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd libepoxy
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd libepoxy
+}
+
+build() {
+ arch-meson libepoxy build -D docs=false --libdir="lib"
+ ninja -C build
+}
+
+check() {
+ meson test -C build --print-errorlogs
+}
+
+package() {
+ DESTDIR="$pkgdir" meson install -C build
+ install -Dm644 libepoxy/COPYING "$pkgdir/usr/share/licenses/libepoxy/LICENSE"
+}