mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +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
|
pkgname=qt6-base
|
||||||
_qtver=6.0.2
|
_qtver=6.0.2
|
||||||
pkgver=${_qtver/-/}
|
pkgver=${_qtver/-/}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
arch=(x86_64)
|
arch=(x86_64)
|
||||||
url='https://www.qt.io'
|
url='https://www.qt.io'
|
||||||
license=(GPL3 LGPL3 FDL custom)
|
license=(GPL3 LGPL3 FDL custom)
|
||||||
|
@ -45,6 +45,7 @@ build() {
|
||||||
cmake -B build -S $_pkgfn \
|
cmake -B build -S $_pkgfn \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DINSTALL_BINDIR=lib/qt6/bin \
|
-DINSTALL_BINDIR=lib/qt6/bin \
|
||||||
|
-DINSTALL_LIBEXECDIR=lib/qt6 \
|
||||||
-DINSTALL_DOCDIR=share/doc/qt6 \
|
-DINSTALL_DOCDIR=share/doc/qt6 \
|
||||||
-DINSTALL_ARCHDATADIR=lib/qt6 \
|
-DINSTALL_ARCHDATADIR=lib/qt6 \
|
||||||
-DINSTALL_DATADIR=share/qt6 \
|
-DINSTALL_DATADIR=share/qt6 \
|
||||||
|
@ -64,7 +65,7 @@ package() {
|
||||||
|
|
||||||
# Symlinks for backwards compatibility
|
# Symlinks for backwards compatibility
|
||||||
mkdir -p "$pkgdir"/usr/bin
|
mkdir -p "$pkgdir"/usr/bin
|
||||||
for _b in $(ls "$pkgdir"/usr/lib/qt6/bin); do
|
for _b in qmake androidqt androidtestrunner; do
|
||||||
ln -rs "$pkgdir"/usr/lib/qt6/bin/$_b "$pkgdir"/usr/bin/$_b-qt6
|
ln -s /usr/lib/qt6/bin/$_b "$pkgdir"/usr/bin/${_b}6
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue