summaryrefslogtreecommitdiffstats
path: root/abs/extra/eglexternalplatform/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/eglexternalplatform/PKGBUILD')
-rw-r--r--abs/extra/eglexternalplatform/PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/abs/extra/eglexternalplatform/PKGBUILD b/abs/extra/eglexternalplatform/PKGBUILD
new file mode 100644
index 0000000..c163baa
--- /dev/null
+++ b/abs/extra/eglexternalplatform/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
+
+pkgname=eglexternalplatform
+pkgver=1.0+3+g7c8f8e2
+pkgrel=1
+pkgdesc="EGL External Platform interface"
+url=https://github.com/NVIDIA/eglexternalplatform
+arch=(any)
+license=(MIT)
+depends=(mesa)
+makedepends=(git)
+_commit=7c8f8e2218e46b1a4aa9538520919747f1184d86 # master
+source=("git+$url#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $pkgname
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd $pkgname
+ git tag -f 1.0 53bf47ccd349b7525248687ba0058860168c8580 # Fixup missing tag
+}
+
+package() {
+ cd $pkgname
+ install -Dt "$pkgdir/usr/include/EGL" -m644 interface/*
+ install -Dt "$pkgdir/usr/share/pkgconfig" -m644 *.pc
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
+}
+
+# vim:set sw=2 et: