void-packages/srcpkgs/Quaternion/template

25 lines
917 B
Bash

# Template file for 'Quaternion'
pkgname=Quaternion
version=0.0.9
revision=1
_libqmatrix_version=0.2.1
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="0f471051abf31acdd70a80de3b731775d4d8ad4fbe45f4d72371fc7229321b16
615f52f29b0958a633587846bd9f8ff711cc58f7e0fbb98ea485e0746d7f01a3"
post_extract() {
mv libqmatrixclient-${_libqmatrix_version}/* ${build_wrksrc}/lib
}