mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/qt6-base to 6.0.2-2
This commit is contained in:
parent
421d08c46e
commit
06eb3e772f
1 changed files with 4 additions and 3 deletions
|
@ -8,7 +8,7 @@
|
|||
pkgname=qt6-base
|
||||
_qtver=6.0.2
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=(x86_64)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
|
@ -45,6 +45,7 @@ build() {
|
|||
cmake -B build -S $_pkgfn \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DINSTALL_BINDIR=lib/qt6/bin \
|
||||
-DINSTALL_LIBEXECDIR=lib/qt6 \
|
||||
-DINSTALL_DOCDIR=share/doc/qt6 \
|
||||
-DINSTALL_ARCHDATADIR=lib/qt6 \
|
||||
-DINSTALL_DATADIR=share/qt6 \
|
||||
|
@ -64,7 +65,7 @@ package() {
|
|||
|
||||
# Symlinks for backwards compatibility
|
||||
mkdir -p "$pkgdir"/usr/bin
|
||||
for _b in $(ls "$pkgdir"/usr/lib/qt6/bin); do
|
||||
ln -rs "$pkgdir"/usr/lib/qt6/bin/$_b "$pkgdir"/usr/bin/$_b-qt6
|
||||
for _b in qmake androidqt androidtestrunner; do
|
||||
ln -s /usr/lib/qt6/bin/$_b "$pkgdir"/usr/bin/${_b}6
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue