db-move: moved xdg-desktop-portal-gnome from [testing] to [extra] (x86_64)
[arch-packages.git] / eglexternalplatform / trunk / PKGBUILD
blob124ddb9cc8e6248132e0f89829fc1cc2da48ee2d
1 # Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
3 pkgname=eglexternalplatform
4 pkgver=1.1
5 pkgrel=2
6 pkgdesc="EGL External Platform interface"
7 url=https://github.com/NVIDIA/eglexternalplatform
8 arch=(any)
9 license=(MIT)
10 depends=(libegl)
11 makedepends=(git)
12 _commit=7c8f8e2218e46b1a4aa9538520919747f1184d86  # tags/1.1
13 source=("git+$url#commit=$_commit")
14 sha256sums=('SKIP')
16 pkgver() {
17   cd $pkgname
18   git describe --tags | sed 's/[^-]*-g/r&/;s/-/+/g'
21 prepare() {
22   cd $pkgname
25 package() {
26   cd $pkgname
27   install -Dt "$pkgdir/usr/include/EGL" -m644 interface/*
28   install -Dt "$pkgdir/usr/share/pkgconfig" -m644 *.pc
29   install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 COPYING
32 # vim:set sw=2 et: