[trunk] -> [testing] 'qt6-connectivity-6.3.2-1' add
packagesQ/qt6-connectivity/pipeline/head This commit looks good
Details
packagesQ/qt6-connectivity/pipeline/head This commit looks good
Details
parent
627b6324c1
commit
9b1f2a310f
@ -0,0 +1,34 @@
|
||||
# Maintainer: artist <artist@artixlinux.org>
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=qt6-connectivity
|
||||
_qtver=6.3.2
|
||||
pkgver=${_qtver/-/}
|
||||
pkgrel=1
|
||||
arch=(x86_64)
|
||||
url='https://www.qt.io'
|
||||
license=(GPL3 LGPL3 FDL custom)
|
||||
pkgdesc='Provides access to Bluetooth hardware'
|
||||
depends=(qt6-base bluez-libs)
|
||||
makedepends=(cmake ninja qt6-declarative)
|
||||
optdepends=('qt6-declarative: QML bindings')
|
||||
groups=(qt6)
|
||||
options=(debug)
|
||||
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
|
||||
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
|
||||
sha256sums=('e249656c502c9c96c416fffc1cb560ea6d30da3354d798b124ec12d7b6f9a658')
|
||||
|
||||
build() {
|
||||
cmake -B build \
|
||||
-S $_pkgfn \
|
||||
-G Ninja \
|
||||
-DCMAKE_INSTALL_PREFIX=/usr
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" cmake --install build
|
||||
|
||||
install -d "$pkgdir"/usr/share/licenses
|
||||
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
Loading…
Reference in new issue