void-packages/srcpkgs/Quaternion/template

26 lines
923 B
Bash

# Template file for 'Quaternion'
pkgname=Quaternion
version=0.0.9.2
revision=1
_libqmatrix_version=0.3.0.2
create_wrksrc=yes
build_wrksrc="Quaternion-${version}"
build_style=cmake
hostmakedepends="qt5-qmake qt5-host-tools"
makedepends="qt5-declarative-devel qt5-quickcontrols"
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="
e859b232802ca0ce68a3fd97bd44bf4252718324c95d1d740bc20a1d02bf5568
c363af0c9d1e357000ed3f50af70722a35d6511c6bd2b9faec287da101a7877a"
post_extract() {
mv libqmatrixclient-${_libqmatrix_version}/* ${build_wrksrc}/lib
}