aboutsummaryrefslogtreecommitdiffstats
path: root/community/quaternion/APKBUILD
blob: 6e042bb4954e2ffab050e6a0490b5cee4a02343c (plain) (blame)
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
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=quaternion
pkgver=0.0.9.5_beta2
pkgrel=0
pkgdesc="Qt5-based IM client for Matrix"
options="!check" # No testsuite
url="https://github.com/QMatrixClient/Quaternion"
arch="all !armhf !mips64" # armhf blocked by qt5-qtmultimedia
license="GPL-3.0-or-later"
depends="qt5-qtquickcontrols2 qt5-qtquickcontrols"
makedepends="
	cmake
	libquotient-dev
	libsecret-dev
	qt5-qtkeychain-dev
	qt5-qtmultimedia-dev
	qt5-qtquickcontrols2-dev
	qt5-qttools-dev
	"
source="https://github.com/QMatrixClient/Quaternion/archive/${pkgver/_/-}/Quaternion-${pkgver/_/-}.tar.gz"
builddir="$srcdir/Quaternion-${pkgver/_/-}"

build() {
	cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="3456973d03c0315105e108ef9ff176ef9a434f96962fb98c8eaf62f46ae9695e2811cb9b180fa9d1e162c300df6812d6e83dae4102aedc6aa6b5242b67b5bad3  Quaternion-0.0.9.5-beta2.tar.gz"