blob: aea2ae5f8cb50c402de09b89b9ec74196fa28c8d (
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
28
29
30
31
32
33
34
35
36
37
|
# Maintainer: Vlad Petrov <ejiek@mail.ru>
_pkgname=qmqtt
pkgname=$_pkgname-git
pkgver=r291.508b714
pkgrel=1
pkgdesc="mqtt client for Qt"
arch=("x86_64")
url="https://github.com/emqtt/qmqtt"
license=("Eclipse Public License 1.0" "Eclipse Distribution License 1.0")
depends=("qt5-base")
makedepends=("qt5-tools")
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+https://github.com/emqtt/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd $_pkgname
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare() {
mkdir -p build
}
build() {
cd build
qmake ../$_pkgname
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
}
|