diff --git a/srcpkgs/Quaternion/template b/srcpkgs/Quaternion/template index 4ac3ef490df..8a6ee851e59 100644 --- a/srcpkgs/Quaternion/template +++ b/srcpkgs/Quaternion/template @@ -1,26 +1,15 @@ # 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}" +revision=2 build_style=cmake -configure_args="-DUSE_INTREE_LIBQMC=1" hostmakedepends="qt5-qmake qt5-host-tools" -makedepends="qt5-declarative-devel qt5-quickcontrols qt5-tools-devel" +makedepends="qt5-declarative-devel qt5-quickcontrols qt5-tools-devel + libqmatrixclient-devel" depends="qt5-quickcontrols" short_desc="Qt5-based IM client for the Matrix protocol" maintainer="Julio Galvan " -license="GPL-3.0-or-later, LGPL-2.1-or-later" +license="GPL-3.0-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 -} +distfiles="https://github.com/QMatrixClient/Quaternion/archive/v${version}.tar.gz" +checksum=7f92c3acc73bb7e44efe94bd1085ae9fd5b58efa51efc28a931cace131c22230