chore(x11/xorg-server-xvfb): fix shebang in xvfb-run

This commit is contained in:
Twaik Yont 2024-03-25 12:18:23 +02:00
parent 6e21688401
commit d25407c321
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="X virtual framebuffer"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=21.1.8
TERMUX_PKG_REVISION=1
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/xserver/xorg-server-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=38aadb735650c8024ee25211c190bf8aad844c5f59632761ab1ef4c4d5aeb152
@ -74,8 +74,9 @@ termux_step_pre_configure() {
local XVFB_RUN_URL="https://salsa.debian.org/xorg-team/xserver/xorg-server/-/raw/debian-bookworm/debian/local/xvfb-run"
termux_download ${XVFB_RUN_URL} "${TERMUX_PKG_CACHEDIR}/xvfb-run" fd05e0f8e6207c3984b980a0f037381c9c4a6f22a6dd94fdcfa995318db2a0a4
sed -i "1s|.*|#!$TERMUX_PREFIX/bin/bash|" "${TERMUX_PKG_CACHEDIR}/xvfb-run"
}
termux_step_post_make_install() {
install -Dm644 -t "${TERMUX_PREFIX}/bin" "${TERMUX_PKG_CACHEDIR}/xvfb-run"
install -Dm755 "${TERMUX_PKG_CACHEDIR}/xvfb-run" "${TERMUX_PREFIX}/bin/"
}