void-packages/srcpkgs/Quaternion/template
2018-11-27 13:21:31 -02:00

26 lines
976 B
Bash

# Template file for 'Quaternion'
pkgname=Quaternion
version=0.0.9.3
revision=1
_libqmatrix_version=0.4.0
create_wrksrc=yes
build_wrksrc="Quaternion-${version}"
build_style=cmake
configure_args="-DUSE_INTREE_LIBQMC=1"
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel qt5-quickcontrols qt5-tools-devel"
depends="qt5-quickcontrols"
short_desc="Qt5-based IM client for the Matrix protocol"
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
license="GPL-3.0-or-later, LGPL-2.1-or-later"
homepage="https://github.com/QMatrixClient/Quaternion"
distfiles="
https://github.com/QMatrixClient/Quaternion/archive/v${version}.tar.gz
https://github.com/QMatrixClient/libqmatrixclient/archive/v${_libqmatrix_version}.tar.gz"
checksum="
7f92c3acc73bb7e44efe94bd1085ae9fd5b58efa51efc28a931cace131c22230
8c0a1e0c52e9be06a9883487893cff005287fb199e378033182b681949c521c3"
post_extract() {
mv libqmatrixclient-${_libqmatrix_version}/* ${build_wrksrc}/lib
}