From 0083d06de25f6e1674c4163616f9374dc9e1069f Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Sun, 26 Jul 2020 03:00:57 +0300 Subject: [PATCH] mesa: fix license installation --- x11-packages/mesa/build.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x11-packages/mesa/build.sh b/x11-packages/mesa/build.sh index 03a233f71..cfe723dd7 100644 --- a/x11-packages/mesa/build.sh +++ b/x11-packages/mesa/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="MIT" TERMUX_PKG_MAINTAINER="Leonid Pliushch " ## Use 17.3.x branch because 18.x.x requires 'pthread_barrier_t'. TERMUX_PKG_VERSION=17.3.9 -TERMUX_PKG_REVISION=29 +TERMUX_PKG_REVISION=30 TERMUX_PKG_SRCURL=https://mesa.freedesktop.org/archive/older-versions/${TERMUX_PKG_VERSION:0:2}.x/mesa-$TERMUX_PKG_VERSION.tar.xz TERMUX_PKG_SHA256=c5beb5fc05f0e0c294fefe1a393ee118cb67e27a4dca417d77c297f7d4b6e479 @@ -40,3 +40,7 @@ termux_step_post_massage() { ln -sf libGL.so libGL.so.1 fi } + +termux_step_install_license() { + install -Dm600 -t $TERMUX_PREFIX/share/doc/mesa $TERMUX_PKG_BUILDER_DIR/LICENSE +}