# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>

pkgname=eglexternalplatform
pkgver=1.1
pkgrel=3
pkgdesc="EGL External Platform interface"
url=https://github.com/NVIDIA/eglexternalplatform
arch=(any)
license=(MIT)
depends=(libegl)
makedepends=(git)
source=("git+$url#tag=$pkgver")
b2sums=('c35e594e42ace1a298c2cdc17f4429c7397d5e338519498bb0432a686573e5695d2897833bf72056456e546b5529ad58e654a6b108a53b27a1a8f2569a631a16')

prepare() {
  cd $pkgname
}

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 sts=-1 et:
