blob: a30e0432fa75fa868a5581add28cd3397a5fb97d (
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
|
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=quaternion
pkgver=0.0.9.4a
pkgrel=0
pkgdesc="Qt5-based IM client for Matrix"
options="!check" # No testsuite
url="https://github.com/QMatrixClient/Quaternion"
arch="all"
license="GPL-3.0-or-later"
depends="qt5-qtquickcontrols2 qt5-qtquickcontrols"
makedepends="cmake qt5-qttools-dev qt5-qtquickcontrols2-dev qt5-qtmultimedia-dev
libquotient-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/QMatrixClient/Quaternion/archive/${pkgver}.tar.gz"
builddir="$srcdir/Quaternion-$pkgver"
build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
${CMAKE_CROSSOPTS}
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="cb1cd10f34670e53c6e1bf749b647cae73f7f3c72615a71d865b0599da7d2b3cb233ce8ff7d32d92a605de4e087744b438abf19c16e0e320a5ec5463b29aa84b quaternion-0.0.9.4a.tar.gz"
|