blob: d6d053c633e6309148ec26a4fdafa5e7cba054f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Maintainer: Emeric Grange <emeric.grange@gmail.com>
# Created: 01/04/2022
pkgname=qt6-qtmqtt
pkgver=6.8.1
pkgrel=1
pkgdesc="Qt Module to implement MQTT protocol."
arch=("x86_64")
url="https://github.com/qt/qtmqtt"
license=("MIT")
depends=(qt6-base)
makedepends=(git cmake)
source=("git+https://github.com/qt/qtmqtt.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cmake -B build -S qtmqtt -G Ninja
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
}
|