blob: 88e33ebb10e44d2f2b9c9704edfccca26e532e2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: N McClellan <nsmcclellan at gmail dot com>
pkgname=egl-wayland2-git
_pkgname=egl-wayland2
pkgver=v1.0.0.rc.r47.g3e5b643
pkgrel=1
pkgdesc="Wayland EGL External Platform library, Version 2 (git version)"
arch=('x86_64')
url="https://github.com/NVIDIA/egl-wayland2"
license=('Apache-2.0')
depends=('wayland' 'wayland-protocols' 'egl-gbm')
makedepends=('git' 'meson')
provides=('egl-wayland2')
conflicts=('egl-wayland2') # Once a stable version exists...
source=("git+https://github.com/NVIDIA/egl-wayland2.git")
sha256sums=('SKIP')
options=('!debug')
pkgver() {
cd "$_pkgname"
git describe --long --tags --abbrev=7 | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "$_pkgname"
mkdir build
meson setup --prefix=/usr --buildtype=plain build
ninja -C build
}
package() {
cd "$_pkgname"
DESTDIR="$pkgdir" ninja -C build install
}
|