0
0
Fork 0
haikuports/dev-qt/qt6-doc/qt6_doc-6.2.1.recipe

49 lines
1.2 KiB
Bash

SUMMARY="A cross-platform application and UI framework (Documentation)"
DESCRIPTION="Qt is a cross-platform application framework that is widely \
used for developing software with a graphical user interface, and also used \
for developing non-GUI programs such as command-line tools and consoles for \
servers."
HOMEPAGE="https://qt.io/"
COPYRIGHT="2015-2021 The Qt Company Ltd."
LICENSE="GNU LGPL v2.1
GNU LGPL v3
GNU FDL v1"
REVISION="1"
SOURCE_URI="https://archlinux.thaller.ws/extra/os/x86_64/qt6-doc-$portVersion-1-any.pkg.tar.zst#noarchive"
CHECKSUM_SHA256="8f362bd1d32de99eadb0e6a787ddf446ff7a1ea5a84c50821091c8c9c2dfc737"
SOURCE_DIR="qt6-doc-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
qt6_doc$secondaryArchSuffix = $portVersion compat >= 6
"
REQUIRES="
haiku$secondaryArchSuffix
qt6_tools$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:tar
cmd:unzstd
"
BUILD()
{
true
}
INSTALL()
{
mkdir -p $prefix/documentation/packages/qt6_base
tar -C $prefix/documentation/packages/qt6_base \
-I zstd \
--strip-components 4 \
-xvf qt6-doc-$portVersion-1-any.pkg.tar.zst
}