summaryrefslogtreecommitdiffstats
path: root/txt/pkgbuild-example
diff options
context:
space:
mode:
Diffstat (limited to 'txt/pkgbuild-example')
-rw-r--r--txt/pkgbuild-example15
1 files changed, 15 insertions, 0 deletions
diff --git a/txt/pkgbuild-example b/txt/pkgbuild-example
new file mode 100644
index 0000000..44a5857
--- /dev/null
+++ b/txt/pkgbuild-example
@@ -0,0 +1,15 @@
+pkgbase=mesa
+pkgname=('vulkan-mesa-layer' 'opencl-mesa' 'vulkan-intel' 'vulkan-radeon' 'libva-mesa-driver' 'mesa-vdpau' 'mesa')
+pkgdesc="An open-source implementation of the OpenGL specification"
+pkgver=19.3.1
+(...)
+
+build() {
+ arch-meson mesa-$pkgver build \
+ -D b_lto=false \
+ -D platforms=x11,wayland,drm,surfaceless \
+ -D dri-drivers=i915,i965,r100,r200,nouveau \
+(...)
+ meson configure build
+ ninja -C build
+(...)