diff options
author | Britney Fransen <brfransen@gmail.com> | 2019-02-21 02:08:06 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2019-02-21 02:08:06 (GMT) |
commit | 88360caae91ebbd31332cd86992c5ff849e1a179 (patch) | |
tree | b075e867fd7bdb00ee833b640d9ef39ddc0ae8cd /abs | |
parent | adb211c68dae045ecf6715361f856b8daa672b44 (diff) | |
download | linhes_pkgbuild-88360caae91ebbd31332cd86992c5ff849e1a179.zip linhes_pkgbuild-88360caae91ebbd31332cd86992c5ff849e1a179.tar.gz linhes_pkgbuild-88360caae91ebbd31332cd86992c5ff849e1a179.tar.bz2 |
eglexternalplatform: dep of egl-wayland
Diffstat (limited to 'abs')
-rw-r--r-- | abs/extra/eglexternalplatform/PKGBUILD | 33 |
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: |