From 2142d421af777ef070c15fe6b9cff6058541cb6a Mon Sep 17 00:00:00 2001 From: EnumDev Date: Mon, 5 Jan 2026 10:07:24 +0200 Subject: [PATCH] Symlink user-facing tools to usr/bin --- pkg.info | 2 +- source.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pkg.info b/pkg.info index 63842cd..ece1d6c 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: qt6-base description: Cross-platform application development framework for creating graphical user interfaces version: 6.10.1 -revision: 2 +revision: 3 url: https://www.qt.io/ license: FDL,GPL3,LGPL3,custom architecture: any diff --git a/source.sh b/source.sh index fd8f723..0c9207d 100644 --- a/source.sh +++ b/source.sh @@ -41,6 +41,13 @@ build() { package() { DESTDIR="$BPM_OUTPUT" cmake --install build + # Symlink user-facing tools + cd "$BPM_OUTPUT" + install -d usr/bin + while read tool; do + ln -s $tool + done < "$BPM_SOURCE"/build/user_facing_tool_links.txt + # Install package licenses install -Dm644 "$BPM_SOURCE"/LICENSES/* -t "$BPM_OUTPUT"/usr/share/licenses/qt6-base/ }